Re: HTML5 vs content type sniffing

On Mon, 28 Jan 2008 12:11:04 +0100, Frank Ellermann  
<hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com> wrote:
> For my definition of "visible with any browser" I need
> text/html, HTML5 allows text/html only for its own new
> non-SGML HTML excluding XHTML, therefore I can't use it.

The text/html syntax allows you to use XHTML in as far XHTML 1.x as  
text/html allowed you to use it. That is, no prefixes, but <br/> works and  
so does <html xmlns="http://www.w3.org/1999/xhtml">. I suppose xml:lang is  
the only difference, but that never worked for XHTML 1.x as text/html  
anyway.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 28 January 2008 11:13:56 UTC