W3C home > Mailing lists > Public > public-html@w3.org > April 2007

Re: Version information

From: David Håsäther <hasather@gmail.com>
Date: Thu, 12 Apr 2007 23:38:37 +0200
To: "Henrik Dvergsdal" <henrik.dvergsdal@hibo.no>, public-html@w3.org
Message-ID: <op.tqow2nkwp8frts@hasather.net>

Henrik Dvergsdal wrote:

> On 12. apr. 2007, at 23.23, David Håsäther wrote:
>
>> Henrik Dvergsdal wrote:
>>
>>> I think the correct DOCTYPE would be:
>>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 5.0//EN">
>>
>> Why? <!doctype html> is a 34 bytes shorter way to trigger standards  
>> mode.
>
> Because that wouldn't be a valid SGML/XML doctype.

It is a correct doctype declaration in SGML. In XML you'd need <!DOCTYPE  
html>, but I don't know why you'd want that in XML in the first place.
Also, HTML5 doesn't pretend to be SGML anymore.

-- 
David Håsäther
Received on Thursday, 12 April 2007 21:38:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:42 UTC