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

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.

--Oliver

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