SlideShare a Scribd company logo
HTML5 5 Quick Wins (Things you can start doing today)
  Hi, I'm Jeff Leombruno.      @jlbruno I work at PixelMEDIA.      @pixelmedia Tweeting today?      #TechWorld2010
Design Principles
  Compatibility
 
Utility
Interoperability
Universal Access
Compatibility: Support Existing Content
 
Degrade Gracefully
 
Don't Reinvent the Wheel
 
Evolution Not Revolution 
 
Pave the Cowpaths
 
  image: http://www.flickr.com/photos/by-mark/110162788/
Utility: Solve Real Problems
 
Priority of Constituencies  
Secure By Design  
Separation of Concerns  
DOM Consistency
Interoperability: Well-defined Behavior  
Avoid Needless Complexity  
Handle Errors
Universal Access: Media Independence  
Support World Languages  
Accessibility
So, what is it?
  New markup tags
Multimedia/audio/video
Local data storage
Web workers
Offline applications
Form improvements
Geolocation*
Who's using it?
  Apple
Facebook
Google
Microsoft 
YouTube
"HTML5 should not be considered as a whole. You should cherry pick the technology that suits the solution to your problem."        -- Remy Sharp       http://remy.tumblr.com/post/1261575750/hold-off-on-deploying-html5-in-websites
Quick Win #1 New Doctype, Simplified Template
      <!DOCTYPE html>
 
<!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;> <head>     <title></title>     <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; />          <link rel=&quot;shortcut icon&quot; type=&quot;image/x-icon&quot; href=&quot;favicon.ico&quot; />           <link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; type=&quot;text/css&quot; />      </head> <body> </body> </html>
<!DOCTYPE html> <html lang=&quot;en&quot;> <head>     <title></title>      <meta charset=&quot;utf-8&quot;>          <link rel=&quot;shortcut icon&quot; type=&quot;image/x-icon&quot; href=&quot;favicon.ico&quot; />           <link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; />      </head> <body> </body> </html>

More Related Content

KEY
HTML5 - techMaine Presentation 5/18/09
PPTX
PPTX
HTML and CSS workshop
PDF
Lca2009 Video A11y
PPT
PL2235 2009 1 HTML
PPT
Html5: What is it?
PDF
Introducing YUI
PPT
Privilege Escalation And Misconfigurations Part2
HTML5 - techMaine Presentation 5/18/09
HTML and CSS workshop
Lca2009 Video A11y
PL2235 2009 1 HTML
Html5: What is it?
Introducing YUI
Privilege Escalation And Misconfigurations Part2

What's hot (20)

PDF
The Ajax Experience: State Of The Browsers
PPT
Understanding html
PPT
HTML5 with examples
ODP
Optimizing Drupal for Mobile Devices
PPTX
Html tags
PPT
Ajax ons2
PPTX
New HTML5/CSS3 techniques
PPT
XHTML basics
PPT
Html5 accessibility
PPTX
Aloha Presentation #t3con10
PDF
Про YAPC::TV
PPT
HTML Fundamentals
PPT
We9 Struts 2.0
PPT
Fast Loading JavaScript
PDF
Why HTML5 is getting on my nerves…
PDF
Microformats HTML to API
PPTX
You and Your Stylesheet
PDF
Squarespace Intro Class - 10082015
PPTX
PDF
GDG DevFest 2018 - Progressive Web Apps 101
The Ajax Experience: State Of The Browsers
Understanding html
HTML5 with examples
Optimizing Drupal for Mobile Devices
Html tags
Ajax ons2
New HTML5/CSS3 techniques
XHTML basics
Html5 accessibility
Aloha Presentation #t3con10
Про YAPC::TV
HTML Fundamentals
We9 Struts 2.0
Fast Loading JavaScript
Why HTML5 is getting on my nerves…
Microformats HTML to API
You and Your Stylesheet
Squarespace Intro Class - 10082015
GDG DevFest 2018 - Progressive Web Apps 101
Ad

Viewers also liked (14)

DOCX
La ética profesional
DOC
Fases De EnseñAnza Del Club
PPT
Understanding Employer Obligations Under Bill 168
PPT
Html5 introduction
PDF
Controlofmachines 130110181054-phpapp01
PDF
Html 5 in a big nutshell
PDF
HTML CSS Basics
PDF
Up to Speed on HTML 5 and CSS 3
PPT
Introduction to HTML
PDF
HTML5 Canvas - The Future of Graphics on the Web
PDF
Html / CSS Presentation
La ética profesional
Fases De EnseñAnza Del Club
Understanding Employer Obligations Under Bill 168
Html5 introduction
Controlofmachines 130110181054-phpapp01
Html 5 in a big nutshell
HTML CSS Basics
Up to Speed on HTML 5 and CSS 3
Introduction to HTML
HTML5 Canvas - The Future of Graphics on the Web
Html / CSS Presentation
Ad

Similar to HTML5: 5 Quick Wins (20)

ODP
Cascading Style Sheets - Part 02
PPT
HTML5 Overview
PPTX
HTML5 Introduction
PPT
Html & CSS - Best practices 2-hour-workshop
ODP
Creating Web Sites with HTML and CSS
PPT
Introduction to web design
PPT
KMUTNB - Internet Programming 3/7
PDF
Intro to HTML & CSS
PPTX
Los Angeles HTML5 User Group Meeting Ask the Expert Session
PPTX
IPW HTML course
PDF
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
PDF
HTML5 and friends - Institutional Web Management Workshop 2010
PPSX
Introduction to Html5
PDF
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
PPTX
HTML5 and CSS3 Techniques You Can Use Today
PPT
New Browsers
PDF
Html5 ux london
PDF
Advanced CSS Troubleshooting & Efficiency
PPT
Basics of html5, data_storage, css3
PPTX
HTML5 and web technology update
Cascading Style Sheets - Part 02
HTML5 Overview
HTML5 Introduction
Html & CSS - Best practices 2-hour-workshop
Creating Web Sites with HTML and CSS
Introduction to web design
KMUTNB - Internet Programming 3/7
Intro to HTML & CSS
Los Angeles HTML5 User Group Meeting Ask the Expert Session
IPW HTML course
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
HTML5 and friends - Institutional Web Management Workshop 2010
Introduction to Html5
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3 Techniques You Can Use Today
New Browsers
Html5 ux london
Advanced CSS Troubleshooting & Efficiency
Basics of html5, data_storage, css3
HTML5 and web technology update

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
KodekX | Application Modernization Development
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
Teaching material agriculture food technology
PDF
Approach and Philosophy of On baking technology
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Building Integrated photovoltaic BIPV_UPV.pdf
Empathic Computing: Creating Shared Understanding
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
KodekX | Application Modernization Development
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Chapter 3 Spatial Domain Image Processing.pdf
Teaching material agriculture food technology
Approach and Philosophy of On baking technology
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

HTML5: 5 Quick Wins

  • 1. HTML5 5 Quick Wins (Things you can start doing today)
  • 2.   Hi, I'm Jeff Leombruno.     @jlbruno I work at PixelMEDIA.     @pixelmedia Tweeting today?     #TechWorld2010
  • 5.  
  • 10.  
  • 12.  
  • 14.  
  • 16.  
  • 18.  
  • 21.  
  • 29. Universal Access: Media Independence  
  • 32. So, what is it?
  • 46. &quot;HTML5 should not be considered as a whole. You should cherry pick the technology that suits the solution to your problem.&quot;       -- Remy Sharp       http://remy.tumblr.com/post/1261575750/hold-off-on-deploying-html5-in-websites
  • 47. Quick Win #1 New Doctype, Simplified Template
  • 48.       <!DOCTYPE html>
  • 49.  
  • 50. <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;> <head>     <title></title>     <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; />         <link rel=&quot;shortcut icon&quot; type=&quot;image/x-icon&quot; href=&quot;favicon.ico&quot; />           <link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; type=&quot;text/css&quot; />     </head> <body> </body> </html>
  • 51. <!DOCTYPE html> <html lang=&quot;en&quot;> <head>     <title></title>     <meta charset=&quot;utf-8&quot;>         <link rel=&quot;shortcut icon&quot; type=&quot;image/x-icon&quot; href=&quot;favicon.ico&quot; />           <link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; />     </head> <body> </body> </html>
  • 52. <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot; > <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot; > <head>     <title></title>     <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset= &quot; utf-8&quot; />         <link rel=&quot;shortcut icon&quot; type=&quot;image/x-icon&quot; href=&quot;favicon.ico&quot; />           <link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; type=&quot;text/css&quot; />     </head> <body> </body> </html>
  • 53. Quick Win #2 New Semantic Elements
  • 55.  
  • 56. <body>     <div class=&quot;header&quot;>     </div>          <ul id=&quot;nav&quot;>     </nav>     <div id=&quot;content&quot;>         <h1>         </h1>           <div class=&quot;article&quot;>         </div>         <div class=&quot;footer&quot;>          </div>        </div>     <div class=&quot;sidebar&quot;>     </div>     <div id=&quot;footer&quot;>     </div> </body>
  • 57. <body>     <header>     </header>          <nav>     </nav>     <section>         <header>         </header>           <article>         </article>         <footer>          </footer>        </section>     <aside>     </aside>     <footer>     </footer> </body>
  • 59.  
  • 60. We can fix this.
  • 61.   We have the technology...
  • 62. http://intertwingly.net/blog/2008/01/22/Best-Standards-Support#c1201006277 (Jan 22, 2008) <!--[if lt IE 9]> <script src=&quot;http://html5shim.googlecode.com/svn/trunk/html5.js&quot;></script> <![endif]--> http://code.google.com/p/html5shim/
  • 63.  
  • 64. Quick Win #3 Form Updates
  • 66.  
  • 67. url
  • 68.  
  • 70.  
  • 71. range
  • 72.  
  • 73. date, month, week, time, datetime, datetime-local
  • 74.  
  • 76.  
  • 77. color
  • 80.         Number:
  • 82.   Search: (in WebKit)  
  • 84.  
  • 87.  
  • 89.     Validation: (in Firefox 4)
  • 91. Validation:   <form novalidate >     <input type=&quot;email&quot; id=&quot;addr&quot;>     <input type=&quot;submit&quot; value=&quot;Subscribe&quot;> </form> <form>     <input type=&quot;email&quot; id=&quot;addr&quot;>     <input type=&quot;submit&quot; value=&quot;Subscribe&quot;>     <input type=&quot;submit&quot; value=&quot;Save&quot; formnovalidate > </form>
  • 92. Quick Win #4 Custom data attributes
  • 93. &quot;Custom data attributes  are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.&quot;       http://dev.w3.org/html5/spec/Overview.html#embedding-custom-non-visible-data-with-the-data-attributes
  • 94.               <ul>     <li class=&quot;prodSizeSmall red&quot;>Product 1</li>     <li class=&quot;prodSizeSmall green&quot;>Product 2</li>     <li class=&quot;prodSizeSmall blue&quot;>Product 3</li>     <li class=&quot;prodSizeMedium red&quot;>Product 4</li>     <li class=&quot;prodSizeMedium blue&quot;>Product 5</li>     <li class=&quot;prodSizeLarge blue&quot;>Product 6</li>     <li class=&quot;prodSizeLarge green&quot;>Product 7</li>     <li class=&quot;prodSizeLarge red&quot;>Product 8</li> </ul>
  • 95.               <ul>     <li data-prod-size=&quot;small&quot; data-prod-color=&quot;red&quot;>Product 1</li>     <li data-prod-size=&quot;small&quot; data-prod-color=&quot;green&quot;>Product 2</li>     <li data-prod-size=&quot;small&quot; data-prod-color=&quot;blue&quot;>Product 3</li>     <li data-prod-size=&quot;medium&quot; data-prod-color=&quot;red&quot;>Product 4</li>     <li data-prod-size=&quot;medium&quot; data-prod-color=&quot;blue&quot;>Product 5</li>     <li data-prod-size=&quot;large&quot; data-prod-color=&quot;blue&quot;>Product 6</li>     <li data-prod-size=&quot;large&quot; data-prod-color=&quot;green&quot;>Product 7</li>     <li data-prod-size=&quot;large&quot; data-prod-color=&quot;red&quot;>Product 8</li> </ul>
  • 96.  
  • 97.  
  • 98.         <img       data-product-price=&quot;£350.00&quot;       data-product-name=&quot;Meisterstück Classique&quot;       data-closeup=&quot;/WritingInstrument/MagnifiedImages/12737_l.jpg&quot;       alt=&quot;Meisterstück Classique&quot;       src=&quot;/WritingInstrument/ThumbImages/12737_t2.png&quot;       class=&quot;proColorImg&quot;>         var imgSrc = $targetImg.attr('data-closeup'); var productName = $targetImg.attr('data-product-name'); var productPrice = $targetImg.attr('data-product-price');     
  • 99. Quick Win #5 Polyfills!
  • 100.   Polyfill: (as defined by Paul Irish )   (n) A shim that mimics a future API providing fallback functionality to older browsers.     http://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills
  • 101. Thank you! The cow thinks it would be great of you to leave any feedback here: http://speakerrate.com/jlbruno Want to read more? Check out Mark Pilgrim's online book: http://diveintohtml5.org/