W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Create my own DTD and specify in DOCTYPE? Re: Validation

From: Oliver Hunt <oliver@apple.com>
Date: Tue, 21 Jul 2009 13:08:11 -0700
Message-ID: <0DF3FAF0-BB7D-4AF4-A70B-E10610B689AA@apple.com>

On Jul 21, 2009, at 1:02 PM, Darxus at ChaosReigns.com wrote:

> On 07/21, Tab Atkins Jr. wrote:
>> HTML5 is not an SGML or XML language.  It does not use a DOCTYPE in
> I thought HTML5 conformed to XML?
HTML has never been xml -- the html5 spec does define an xml  
serialisation though (which i imagine is just going to be called xhtml)

This means serving xml as html is a nono (they're not the same) so you  
get quirks mode, and ie doesn't support xhtml so you serving with any  
of the xhtml mimetypes doesn't display anything.

Received on Tuesday, 21 July 2009 13:08:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC