3. Why HTML5?
“HTML 5 will enable better cross-browser compatibility
and better support for ‘Web 2.0-style’ Web applications in
addition to documents.”
Brendan Eich
CTO, Mozilla
4. Why HTML5?
HTML5 will have an application cache that is capable of
storing all resources in your Web app so that the
browser can load them and use them even when you’re
offline
5. Why HTML5?
HTML5 enables mobile and desktop Web site designers
to deliver the advantages of client-side and server-side
development to their users simultaneously.
API development and workability in the browsers will
take a leap forward.
6. Problems with HTML5
• Not backwards-compatible?
• extensible? - questionable
• <P> = <p> ...and... <div class=”foo”> = <DIV class=foo>
• removal of certain tags - <acronym>
• removal of access keys? This could set back the usability/accessibility of
markup (or, there could be good reasons for doing this)
8. What does HTML5 mean to Web designers?
• new tags for semantic layout
• improved microformatting
• new tags for incorporating rich media
• new tags for APIs, applications
18. HTML5 - Quirks in IE
<script type=quot;text/javascriptquot;>
document.createelement('header');
</script>
<header>javascript must be used to force ie to style this element</header>
19. HTML5 & CSS
• CSS works fine in most cases w/t/new tags
• New tags are treated as inline elements; need to use display:block;
• Need to use javascript to force IE to recognize new HTML5 tags and apply
CSS to them
23. <video>
<video src=quot;/video/ac-testimonial-web.movquot; controls=quot;truequot;>
<p>your browser does not support the video tag</p>
</video>
24. <canvas>
<canvas id=”a_canvas” width=”400” height=”300”>
<p>Oops! Your browser can’t display the canvas.</p>
</canvas>
25. New Rules for markup
This is legal in HTML5:
<li>
<a href=quot;/2009/seattle/quot;>
<h2><img src=quot;/i/09/city-seattle.jpgquot; alt=quot;Seattlequot; /></h2>
<h3>May 4—5, 2009</h3>
<p>Bell Harbor International Conference Center</p>
</a>
</li>
26. New Rules for markup
This is how you do it in HTML4/xHTML:
<li>
<h2><a href=quot;/2009/seattle/quot;><img src=quot;/i/09/city-seattle.jpgquot; alt=quot;Seattlequot; /> </a> </h2>
<h3><a href=quot;/2009/seattle/quot;>May 4—5, 2009 </a> </h3>
<p><a href=quot;/2009/seattle/quot;>Bell Harbor International Conference Center </a> </p>
</li>
28. What does it all mean?
• It’s a work in progress
• It’s going to be awhile before we’re using HTML5
• It may turn up in mobile browsers first
• HTML5 will lead to browser-based apps that are more powerful and more
responsive
29. <Thank you!>
Rob Landry
rob@pemaquid.com
twitter: @portlandhead, @pemaquid