HTML5 Doctype Support

Posted by Metropolis on Stack Overflow See other posts from Stack Overflow or by Metropolis
Published on 2010-05-29T03:25:13Z Indexed on 2010/05/29 3:32 UTC
Read the original article Hit count: 273

Filed under:

Hey Everyone,

For a long time I have been using XHTML1.1 because I thought I was cool (yeah right). However, today I read Ian Hickson's Article about how everyone uses the wrong MIME type with XHTML and it opened my eyes a lot. I happen to be one of those people who are serving XHTML with text/html MIME, because like a lot of people, W3C says its "ok" to serve it this way.

At the top of that article he says that "now" he would serve it using the HTML5 doctype (!DOCTYPE HTML). What are your thoughts about doing this? If I did not use unsupported functionality, would it be ok? What would the MIME type be in this case?

Thanks for any help, Metropolis

© Stack Overflow or respective owner

Related posts about html5