Posted by Toby Inkster on 01/07/07 22:00
Andy Dingley wrote:
> Not even then. An empty tag isn't a closing tag.
<br/> isn't a closing tag. </br> is though.
> <br> is defined as an empty element in both HTML and XHTML. So although
> an XHTML parser should accept <br></br>
A conforming XHTML parser not only *should* accept <br></br>, but *must*.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|