|
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.
Navigation:
[Reply to this message]
|