XHTML 2/HTML 5 comic
Thursday, August 27th, 2009If you haven’t seen it yet, Smashing Magazine posted a comic called Misunderstanding Markup: XHTML 2/HTML 5. I’ve been wondering what’s been going on with the standards and what it’ll ultimately mean for me. And a comic addresses my questions and laziness quite nicely. I win!
At risk of infringing copyright, I’ll rape and paste it below.







August 28th, 2009 at 12:33 pm
It’s not the syntax that distinguishes HTML5 from XHTML5, it is what type of parser the document is processed by. HTML5 webpages are parsed by a HTML parser and XHTML5 webpages are processed by a XML parser. New syntaxes have been added to HTML which allow you to use stuff like “/>” in HTML, which means you can now have a document that is valid HTML5 if processed as HTML, or valid XHTML5 if processed as XML.