Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Quirks Mode vs. Standards Mode - overview


py9jmas - 6:07 pm on Jun 9, 2004 (gmt 0)


using <br /> or <br>

<br /> means something completly different in HTML4.0 (SGML) than it does in XHTML (XML).

See [internal.qaotiq.co.uk...]
The fact that it works, (and HTML `compatable' XHTML relies on this) is a complete and utter bodge.

This despite completely ungrounded claims that coding in xhtml will somehow 'speed' your page rendering, the only way that could happen is if the rendering engine first parses the whole page, decides that it has no errors, then applies the xhtml rendering to it, which of course would increase the time.

Another reason why sending XHTML as text/html is rather pointless. Send it as application/xhtml+xml, (which is what it is supposed to be) and as soon as the file fails the XML well-formedness checks, the browser can (indeed, must) throw an error and can stop processing. If it is well-formed, the file should be rendered quicker than a HTML version.

With all the work that has gone in to computer compilers over the years, throwing errors on syntax errors has always been the thing to do, instead of making guesses about what the writer meant to write.


Thread source:: http://www.webmasterworld.com/html/7975.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com