SlideShare a Scribd company logo
1 of 29
HTML5 - A Look Ahead
             presented to:

techMaine Web Design User’s Group
             May 18, 2009
The obvious question.....


          WTF do we need

               HTML5
               ?!?!?!
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
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
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.
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)
Please remain calm.....

 It’s just a
 working
 draft, people!
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
Browser support

 Browser
 support?

 What browser
 support??
Browser Support

• Opera 9.x (supposedly) offers best support


• Safari 3.x - sketchy (best support in my experience)


• Firefox 3.x - sketchy


• Chrome? - sketchy


• IE8 - veeerrrry sketchy


• IE7 - nope


• IE6? (LOL!)
New Tags

• article    • datatemplate   • nav
• aside      • embed          • nest
• audio      • event-source   • output
• canvas     • figure          • progress
• command    • footer         • source
• datagrid   • header         • time
• datalist   • mark           • video
             • meter
doctype - “Look Ma! No DTD!”




            <!DOCTYPE HTML>
doctype

                     xHTML:
 <!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0
Strict//ENquot; quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-
                      strict.dtdquot;>
HTML5 - basic document structure

<!DOCTYPE HTML>
<html lang=quot;enquot;>
	   <head>
	   	     <meta charset=quot;UTF-8quot;>
	   	     <title>HTML5</title>
	   </head>
	   <body>
	   </body>
</html>
Layout - HTML4, xHTML

                   div=”header”
                     div=”nav”
                   div=”section”


                         di
         div=”article”             div=”sidebar”



                    div=”footer”
Layout - HTML5

                       <header>
                        <nav>
                       <section>


                          di
           <article>               <aside>



                       <footer>
Layout - HTML5
       	   <body>
       	   	    <header>
       	   	    	   <h1>HTML 5</h1>
       	   	    </header>
       	   	    <nav>
       	   	    	   <ul></ul>
       	   	    </nav>
       	   	    <section>
       	   	    	   <article>
       	   	    	   	   <p></p>
       	   	    	   </article>
       	   	    	   <aside>
       	   	    	   	   <p></p>
       	   	    	   </aside>
       	   	    </section>
       	   	    <footer>
       	   	    	   <p></p>
       	   	    </footer>
             </body>
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>
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
Microformats - now

   <div class=quot;veventquot;>
   	 <a class=quot;urlquot; href=quot;http://aneventapart.comquot;>http://aneventapart.com</a>
   	 <span class=quot;summaryquot;>An Event Apart Boston</span>
   	 <abbr class=quot;dtstartquot; title=quot;2009-06-22quot;>June 22</abbr> -
   	 <abbr class=quot;dtendquot; title=quot;2009-06-23quot;>23</abbr>
   	 in <span class=quot;locationquot;>Boston Marriott, Copley Place, Boston, MA</span>
   </div>
Microformats - w/HTML5

   <div class=quot;veventquot;>
   	 <a class=quot;urlquot; href=quot;http://aneventapart.comquot;>http://aneventapart.com</a>
   	 <span class=quot;summaryquot;>An Event Apart Boston</span>
   	 <time class=quot;dtstartquot; title=quot;2009-06-22quot;>June 22</time> -
   	 <time class=quot;dtendquot; title=quot;2009-06-23quot;>23</time>
   	 in <span class=quot;locationquot;>Boston Marriott, Copley Place, Boston, MA</span>
   </div>
<audio>



                <audio src=quot;/tunes/boom.mp3quot; controls=quot;truequot;>
         	 	   	   <a href=quot;/tunes/boom.mp3quot;>Listen</a>
   	   	   	    </audio>
<video>


                    <video src=quot;/video/ac-testimonial-web.movquot; controls=quot;truequot;>
       	       	   	    <p>your browser does not support the video tag</p>
   	       	   	    </video>
<canvas>


           <canvas id=”a_canvas” width=”400” height=”300”>
             <p>Oops! Your browser can’t display the canvas.</p>
           </canvas>
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>
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>
Validation

             validator.nu
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
<Thank you!>




             Rob Landry
         rob@pemaquid.com
twitter: @portlandhead, @pemaquid

More Related Content

What's hot

Privilege Escalation And Misconfigurations Part2
Privilege Escalation And Misconfigurations Part2Privilege Escalation And Misconfigurations Part2
Privilege Escalation And Misconfigurations Part2
Caleb Sima
 
Optimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile DevicesOptimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile Devices
Sugree Phatanapherom
 
(WS11) Saša Matijašić (LogIT internet usluge): Quo Vadis, Browser?*
(WS11) Saša Matijašić (LogIT internet usluge): Quo Vadis, Browser?*(WS11) Saša Matijašić (LogIT internet usluge): Quo Vadis, Browser?*
(WS11) Saša Matijašić (LogIT internet usluge): Quo Vadis, Browser?*
Web::Strategija
 
Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011
Zi Bin Cheah
 

What's hot (20)

HTML and CSS workshop
HTML and CSS workshopHTML and CSS workshop
HTML and CSS workshop
 
HTML5 Overview
HTML5 OverviewHTML5 Overview
HTML5 Overview
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
 
Mobile web-apps
Mobile web-appsMobile web-apps
Mobile web-apps
 
Be HTML5-ready today
Be HTML5-ready todayBe HTML5-ready today
Be HTML5-ready today
 
Privilege Escalation And Misconfigurations Part2
Privilege Escalation And Misconfigurations Part2Privilege Escalation And Misconfigurations Part2
Privilege Escalation And Misconfigurations Part2
 
Optimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile DevicesOptimizing Drupal for Mobile Devices
Optimizing Drupal for Mobile Devices
 
(WS11) Saša Matijašić (LogIT internet usluge): Quo Vadis, Browser?*
(WS11) Saša Matijašić (LogIT internet usluge): Quo Vadis, Browser?*(WS11) Saša Matijašić (LogIT internet usluge): Quo Vadis, Browser?*
(WS11) Saša Matijašić (LogIT internet usluge): Quo Vadis, Browser?*
 
HTML5 with examples
HTML5 with examplesHTML5 with examples
HTML5 with examples
 
Hour 02
Hour 02Hour 02
Hour 02
 
PL2235 2009 1 HTML
PL2235 2009 1 HTMLPL2235 2009 1 HTML
PL2235 2009 1 HTML
 
HTML5: New Possibilities for Publishing
HTML5: New Possibilities for PublishingHTML5: New Possibilities for Publishing
HTML5: New Possibilities for Publishing
 
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
Advanced Web Scraping or How To Make Internet Your Database #seoplus2018
 
#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]
 
Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)
 
WordPress Development Confoo 2010
WordPress Development Confoo 2010WordPress Development Confoo 2010
WordPress Development Confoo 2010
 
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
Enterprise Google Gadgets Integrated with Alfresco - Open Source ECM
 
Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011
 
Developing a Web Application
Developing a Web ApplicationDeveloping a Web Application
Developing a Web Application
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 

Viewers also liked (6)

Khosla Ventures Renewable Portfolio
Khosla Ventures Renewable PortfolioKhosla Ventures Renewable Portfolio
Khosla Ventures Renewable Portfolio
 
Agenda Semana 27 Institución Educativa El Pedregal
Agenda Semana 27  Institución Educativa El PedregalAgenda Semana 27  Institución Educativa El Pedregal
Agenda Semana 27 Institución Educativa El Pedregal
 
Agenda Semana 30. Institución Educativa El Pedregal
Agenda Semana 30.  Institución Educativa El PedregalAgenda Semana 30.  Institución Educativa El Pedregal
Agenda Semana 30. Institución Educativa El Pedregal
 
Nicholas byttemarkeder
Nicholas byttemarkederNicholas byttemarkeder
Nicholas byttemarkeder
 
Agenda Semana 21. Institución Educativa El Pedregal
Agenda Semana 21.  Institución Educativa El PedregalAgenda Semana 21.  Institución Educativa El Pedregal
Agenda Semana 21. Institución Educativa El Pedregal
 
Diccionario Proyecto SIRES (TP 335-2012-1) (primer momento)
Diccionario Proyecto SIRES (TP 335-2012-1) (primer momento)Diccionario Proyecto SIRES (TP 335-2012-1) (primer momento)
Diccionario Proyecto SIRES (TP 335-2012-1) (primer momento)
 

Similar to HTML5 - techMaine Presentation 5/18/09

Html 5 a step towards semantic web
Html 5   a step towards semantic webHtml 5   a step towards semantic web
Html 5 a step towards semantic web
Sachin Khosla
 
HTML5 - What h#@$ is it?
HTML5 - What h#@$ is it?HTML5 - What h#@$ is it?
HTML5 - What h#@$ is it?
Carlos Ramon
 
What I brought back from Austin
What I brought back from AustinWhat I brought back from Austin
What I brought back from Austin
Lisa Adkins
 
Jade & Javascript templating
Jade & Javascript templatingJade & Javascript templating
Jade & Javascript templating
wearefractal
 
Lecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITPLecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITP
yucefmerhi
 
Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010
Matthew Mobbs
 

Similar to HTML5 - techMaine Presentation 5/18/09 (20)

Html 5 a step towards semantic web
Html 5   a step towards semantic webHtml 5   a step towards semantic web
Html 5 a step towards semantic web
 
HTML5 - One spec to rule them all
HTML5 - One spec to rule them allHTML5 - One spec to rule them all
HTML5 - One spec to rule them all
 
HTML5 - What h#@$ is it?
HTML5 - What h#@$ is it?HTML5 - What h#@$ is it?
HTML5 - What h#@$ is it?
 
HTML5: The Next Internet Goldrush
HTML5: The Next Internet GoldrushHTML5: The Next Internet Goldrush
HTML5: The Next Internet Goldrush
 
Html5
Html5 Html5
Html5
 
Los Angeles HTML5 User Group Meeting Ask the Expert Session
Los Angeles HTML5 User Group Meeting Ask the Expert SessionLos Angeles HTML5 User Group Meeting Ask the Expert Session
Los Angeles HTML5 User Group Meeting Ask the Expert Session
 
Developing Gadgets
Developing GadgetsDeveloping Gadgets
Developing Gadgets
 
HTML5
HTML5HTML5
HTML5
 
What I brought back from Austin
What I brought back from AustinWhat I brought back from Austin
What I brought back from Austin
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
Jade & Javascript templating
Jade & Javascript templatingJade & Javascript templating
Jade & Javascript templating
 
Looking into HTML5
Looking into HTML5Looking into HTML5
Looking into HTML5
 
Lecture1 B Frames&Forms
Lecture1 B  Frames&FormsLecture1 B  Frames&Forms
Lecture1 B Frames&Forms
 
Lecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITPLecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITP
 
Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010
 
Html5
Html5Html5
Html5
 
Successful Teams follow Standards
Successful Teams follow StandardsSuccessful Teams follow Standards
Successful Teams follow Standards
 
JWU Guest Talk: JavaScript and AJAX
JWU Guest Talk: JavaScript and AJAXJWU Guest Talk: JavaScript and AJAX
JWU Guest Talk: JavaScript and AJAX
 
How to Create and Submit an XML SItemap
How to Create and Submit an XML SItemapHow to Create and Submit an XML SItemap
How to Create and Submit an XML SItemap
 
Semantics & the Mobile Web
Semantics & the Mobile WebSemantics & the Mobile Web
Semantics & the Mobile Web
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
 

HTML5 - techMaine Presentation 5/18/09

  • 1. HTML5 - A Look Ahead presented to: techMaine Web Design User’s Group May 18, 2009
  • 2. The obvious question..... WTF do we need HTML5 ?!?!?!
  • 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)
  • 7. Please remain calm..... It’s just a working draft, people!
  • 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
  • 9. Browser support Browser support? What browser support??
  • 10. Browser Support • Opera 9.x (supposedly) offers best support • Safari 3.x - sketchy (best support in my experience) • Firefox 3.x - sketchy • Chrome? - sketchy • IE8 - veeerrrry sketchy • IE7 - nope • IE6? (LOL!)
  • 11. New Tags • article • datatemplate • nav • aside • embed • nest • audio • event-source • output • canvas • figure • progress • command • footer • source • datagrid • header • time • datalist • mark • video • meter
  • 12. doctype - “Look Ma! No DTD!” <!DOCTYPE HTML>
  • 13. doctype xHTML: <!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0 Strict//ENquot; quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtdquot;>
  • 14. HTML5 - basic document structure <!DOCTYPE HTML> <html lang=quot;enquot;> <head> <meta charset=quot;UTF-8quot;> <title>HTML5</title> </head> <body> </body> </html>
  • 15. Layout - HTML4, xHTML div=”header” div=”nav” div=”section” di div=”article” div=”sidebar” div=”footer”
  • 16. Layout - HTML5 <header> <nav> <section> di <article> <aside> <footer>
  • 17. Layout - HTML5 <body> <header> <h1>HTML 5</h1> </header> <nav> <ul></ul> </nav> <section> <article> <p></p> </article> <aside> <p></p> </aside> </section> <footer> <p></p> </footer> </body>
  • 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
  • 20. Microformats - now <div class=quot;veventquot;> <a class=quot;urlquot; href=quot;http://aneventapart.comquot;>http://aneventapart.com</a> <span class=quot;summaryquot;>An Event Apart Boston</span> <abbr class=quot;dtstartquot; title=quot;2009-06-22quot;>June 22</abbr> - <abbr class=quot;dtendquot; title=quot;2009-06-23quot;>23</abbr> in <span class=quot;locationquot;>Boston Marriott, Copley Place, Boston, MA</span> </div>
  • 21. Microformats - w/HTML5 <div class=quot;veventquot;> <a class=quot;urlquot; href=quot;http://aneventapart.comquot;>http://aneventapart.com</a> <span class=quot;summaryquot;>An Event Apart Boston</span> <time class=quot;dtstartquot; title=quot;2009-06-22quot;>June 22</time> - <time class=quot;dtendquot; title=quot;2009-06-23quot;>23</time> in <span class=quot;locationquot;>Boston Marriott, Copley Place, Boston, MA</span> </div>
  • 22. <audio> <audio src=quot;/tunes/boom.mp3quot; controls=quot;truequot;> <a href=quot;/tunes/boom.mp3quot;>Listen</a> </audio>
  • 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>
  • 27. Validation validator.nu
  • 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

Editor's Notes