[thelist] PHP nl2br - <br> and <br />

aardvark roselli at earthlink.net
Sun Mar 24 19:07:00 CST 2002


> From: **1st Vamp** <wes at pmason.karoo.co.uk>
[...]
> On another note:
> I can't see why the W3 validator shouldn't validate <br /> as HTML
> 4.01, I know it's XML/XHTML, but isn't the whole point of it for
> backwards compatibility? If a browser rendering engine will see it as
> valid, why not the validator?

because it's not HTML...

i know, it sounds a little off, but why version HTML, then, if you're just going to
allow all later versions to add syntax rules and elements?

as for backward compatibility, that's a browser rendering thing, not a validation
thing... not quite...




More information about the thelist mailing list