How to convert your site to HTML5 in one easy step
Slide 30
It’s Easy! Change this: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
to this: <!DOCTYPE html>
Slide 31
Browser shims Add this to your stylesheet: section, article, header, footer, nav, aside, hgroup { display: block; } Add this conditional comment to your head: <!—[if IE]> <script src=”http://html5shim.googlecode.com/ ↩ svn/trunk/html5.js”></script> <![endif]—>
Slide 32
Rumor: Browsers don’t support HTML5 False: All modern browsers have implemented HTML5 to some degree, and there’s no reason not to use the parts that work today.
Slide 33
Rumor: HTML5 won’t be ready until 2022 False: 2009: W3C Working Draft 2012: W3C Recommendation 2022: two complete implementations
Slide 34
Rumor: HTML5 takes us back to tag soup False: HTML5 allows you to use HTML or XHTML syntax.
Slide 35
Thank You To learn more: abookapart.com diveintohtml5.org Follow me on Twitter: @spaceninja </presentation>