You are here: Re: <p> or <br> « HTML « IT news, forums, messages
Re: <p> or <br>

Posted by Toby Inkster on 10/10/06 08:39

Jim Scott wrote:

> On my site, which is almost all pictures with text, using <br> avoids a space
> appearing between the text and the picture or is that because I use </p>?

Note the difference in rendering between:

<p>text <img></p>

and

<p>text</p> <img>

Also, note that "</p>" is an optional tag. So which of the two examples
above do you think is equivalent to:

<p>text <img>

?

It's the first one.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация