Reply to Re: line break

Your name:

Reply:


Posted by Ben C on 06/10/07 21:47

On 2007-06-10, M <nowhereman@twilightzone.net> wrote:
> "Ben C" <spamspam@spam.eggs> wrote in message
> news:slrnf6oom3.s94.spamspam@bowser.marioworld...
>> On 2007-06-10, David <none@none.com> wrote:
>>> i'm fairly new to html so forgive me if this is a silly question
>
>> They mean the same. <br/> is XHTML, <br> is HTML. Most browsers will
>> tolerate <br/> even in HTML, but that doesn't make it right, so use
>> <br> if you're using HTML.
>
> Not sure but I think the space is required if using it in HTML.

Do you mean <br /> as opposed to <br/>? You may be right, but either is
wrong really in HTML.

> There may be issues with line spacing wrt to using paragraph tags versus
> line returns.

Assuming you mean <br> by line return, yes the spacing is different.
<br> starts a new line wherever a new line should start, which is given
by the height of the previous line. But paragraphs are new block boxes
and usually have some top and bottom margin set on them by the default
stylesheet.

[Back to original 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

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