W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: HTML or XHTML - why do you use it?

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 7 Jan 2003 07:21:48 +0000 (GMT)
Message-Id: <200301070721.h077LmD01107@djwhome.demon.co.uk>
To: www-html@w3.org

>    never use <!-- --> in <script> or <style>

I thought the compatibility guidelines strongly suggested using external
style sheets and scripts to avoid this issue, i.e. it is not glossed over.

>    explicitly include <tbody> elements

I don't understand this one.  Surely the DOM for an HTML table always contains
tbody's as tr is not allowed as a direct descendant of table, so a proper
DOM has to include tbody elements, and that is what gets styled.  (This
may well be a problem for fully tag soup browser, possibly NS4-, which make no
attempt to construct a proper parse tree.)

As a general principle, though, on the original question, I would suggest that
one should use the oldest version of HTML that is consistent with the content
of the document.  There may be issues with HTML 2.0, if CSS is to be used,
because of the change between P as a delimiter to P as a container, but 
many documents only need HTML 3.2.
Received on Tuesday, 7 January 2003 02:49:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT