[whatwg] HTML5 DOCTYPE
hasather at gmail.com
Sat Dec 1 05:10:08 PST 2007
Yuhong Bao wrote:
> I agree that the HTML5 DOCTYPE should be optional
Note that this is only the case for the XML serialization.
> but how about expanding it to the full thing like the HTML 4.01 DOCTYPE?
As the FAQ explains the only reason for the inclusion of the
DOCTYPE declaration in the spec is to trigger standards mode in
browsers, and <!doctype html> does just that. Using the full form
would only waste bytes as browsers don't use that information anyway.
More information about the whatwg