Posted by Andy Dingley on 01/07/07 15:33
Toby Inkster wrote:
> Beauregard T. Shagnasty wrote:
>
> > Count your <br>'s. And </br> is incorrect; line breaks don't use
> > closing tags.
>
> Except in XHTML :-)
Not even then. An empty tag isn't a closing tag.
<br> is defined as an empty element in both HTML and XHTML. So although
an XHTML parser should accept <br></br>, there's no reason at all why
one should ever be generated in this form.
Navigation:
[Reply to this message]
|