W3C home > Mailing lists > Public > public-html-comments@w3.org > March 2010

"Mostly useless" doctype

From: T.J. Crowder <tj@crowdersoftware.com>
Date: Sun, 21 Mar 2010 10:01:14 +0000
Message-ID: <c95470a1003210301x30ee6d45m9d36b1d78add2551@mail.gmail.com>
To: public-html-comments <public-html-comments@w3.org>
In Section 8.1.1 <http://www.w3.org/TR/html5/syntax.html#the-doctype>., the
current published specification says:

A DOCTYPE is a mostly useless, but required, header.


It then goes on to say:

DOCTYPEs are required for legacy reasons. When omitted, browsers tend to use
> a different rendering mode that is incompatible with some specifications.


So, not useless then, or even mostly useless, as it's required to ensure
that the most common UAs in the world (web browsers) behave something close
to properly.

Perhaps consider dropping the "mostly useless" comment to avoid encouraging
skimmers to drop it. Perhaps "A DOCTYPE is a required header that primarily
serves a legacy, but significant, purpose."

(Separately: It's a header? That seems an odd term for it.)

Regards,
--
T.J. Crowder
tj @ crowdersoftware / com
www / crowder software / com
Received on Sunday, 21 March 2010 10:01:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:01 GMT