Re: Version information

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