It’s just data

HTML5 Deployment Considerations

Lachlan Hunt: HTML 5 introduces and enhances a wide range of features including form controls, APIs, multimedia, structure, and semantics

Excellent Overview.  I’ll note that the page itself contains <div id="sidebar" class="column"> and other HTML4-isms.  But it doesn’t advertise to be HTML5, it claims to be XHTML1-Transitional, served as text/html.  It is both valid and works.

But in the interest of getting practical deployment experience with these specifications, I plan to explore exploiting these new tags on both my weblog and my planet.  Two issues immediately come to mind, and I’m sure I’ll encounter more.

Please leave any markup suggestions you may have in the comments.


You can’t properly style the structure elements in Firefox either, since its HTML parser won’t let you put block children in unrecognised elements (bug 311366). This post suggests some ways to work around that, though they’re not particularly good suggestions.

Posted by Philip Taylor at

No, it doesn’t “beg the question:” [link]

Why are the object and embed elements being stripped in the first place?  Answer that question accurately enough and the answers to the other questions may be more obvious.

Posted by David at

Phillip: are those workarounds needed for XHTML5?

Posted by Sam Ruby at

Philip: are those workarounds needed for XHTML5?



Posted by Philip Taylor at

Philip: are those workarounds needed for XHTML5?

Hmm, I’d forgotten about that solution. The only problem I’m aware of is in the HTML parser, so unrecognised elements from XML or from DOM manipulation should work exactly as they’re meant to.

(By the way, it’s kind of annoying how the “Submit” button pops into existence precisely where the “Preview” button was, just after I begin clicking...)

Posted by Philip Taylor at

What do you think of the idea of embedding an XSLT document inside a conditional comment that would transform HTML5 elements to HTML4 elements?

Posted by roberthahn at

early results | validation status | discussion

Posted by Sam Ruby at

Sam, of course you could include the object or embed elements as children of the video or audio elements.  You can include almost anything you like as fallback.

Posted by Lachlan Hunt at

Lachlan: that wasn’t in question.  The question was: if I do go that route, what is the advantage of wrapping those elements inside a video element over simply leaving the markup as is?

Posted by Sam Ruby at

One advantage of spreading the usage of video is that eventually it will give the user greater control and a more consistent experience. At this point that is slightly unrealistic obviously.

Posted by Anne van Kesteren at

Un altro passo verso HTML 5

Come prontamente segnalato da Giacomo Dotta, ieri, su Webnews, il W3C ha pubblicato la prima bozza pubblica della specifica HTML 5 . La notizia ha certamente un suo interesse perché il marchio di working draft ufficiale del W3C segna una tappa...

Excerpt from edit at

Add your comment