SlideShare a Scribd company logo
Let’s Make ProgressShahab LashkariProduct ManagerOmniUpdate, Inc.shahab@omniupdate.com@OUShahab
OverviewWhat it isWhat it isn’tSemanticsFormsVideoCanvas vs. SVG vs. CSS3CompatibilityQuestions?
What is HTML 5?The latest revision of the HTML standardContains both HTML 4 and XHTML 1Though some elements have been deprecatedCan be written in either syntaxNew APIs (e.g., canvas, offline storage, media playback, drag-and-drop, etc.)New rules for error handling (!)
What HTML 5 is not…An official W3C recommendationyet A silver bulletFully supported in [m]any browsers
So what’s different?
So what’s different?
New semantic elementsarticleasideaudiocanvasfigcaptionfigurefooterheadernavsectionvideoetc.
New semantic elements<header><nav><article><aside><section><footer>
New form input typesemailurltelnumberrangesearchdatemonthweektimecoloretc.e.g., <input type="email">
FormsNew input types can make life easier on mobile devices!
New form input attributesautofocus*placeholderrequired*patternspeech?*etc.*booleanattributes
Boolean attributes<input type="email" autofocus><input type="email" autofocus="autofocus"><input type="email" autofocus="true"><input type="email" autofocus="false">
<video><video id="myvideo" … >  <source … />… your fallback code goes here …</video>Use JavaScript to interact with DOM and create your own video controlsdocument.getElementById("myvideo").play();
<video>
Canvas vs. SVG vs. CSS3Canvas is essentially a sketchpadScalable Vector Graphics use math to create imagesCSS3 can do some prettyamazingthings
CompatibilityShould I be sniffing for user agent?Then how will I know which features are supported?What if I want to use a feature that isn’t supported in all browsers?
Should I be sniffing for user agent?NO
Which features are supported?Mark Pilgrim suggests using one of 4 techniques:Check if a certain property exists on a global object (such as window or navigator).Example: testing for geolocationsupportCreate an element, then check if a certain property exists on that element.Example: testing for canvas supportCreate an element, check if a certain method exists on that element, then call the method and check the value it returns.Example: testing which video formats are supportedCreate an element, set a property to a certain value, then check if the property has retained its value.Example: testing which <input> types are supported
Useful ResourcesModernizrhttp://www.modernizr.com/When can I use…http://www.caniuse.com/HTML5 Boilerplatehttp://html5boilerplate.com/
What if I want to use an unsupported feature?do websites need to look exactly the same in every browser?
What if I want to use an unsupported feature?dowebsitesneedtolookexactlythesameineverybrowser.com
Questions?
ReferencesDive into HTML5 - http://diveintohtml5.orgA List Apart - http://www.alistapart.com/articles/previewofhtml5W3C - http://www.w3.org/html5Wikipedia - http://en.wikipedia.org/wiki/HTML5_videoHTML5 Rocks - http://www.html5rocks.com
Examples in higher educationUniversity of DenverThe University of North Dakota

More Related Content

ODP
Building your first WordPress plugin
PPTX
AngularJS
PPTX
Making Visualforce RemoteActions Bulletproof with TypeScript
PDF
Making Visualforce RemoteAction Bulletproof with TypeScript
PPTX
Typescript kata The TDD style 2 edition
PDF
Productive Android developers (Meetup slides)
PDF
Discover the power of browser developer tools
PDF
BDD in PHP - Behat
Building your first WordPress plugin
AngularJS
Making Visualforce RemoteActions Bulletproof with TypeScript
Making Visualforce RemoteAction Bulletproof with TypeScript
Typescript kata The TDD style 2 edition
Productive Android developers (Meetup slides)
Discover the power of browser developer tools
BDD in PHP - Behat

What's hot (20)

PDF
Five steps towards your testing dream
PPTX
Behat - human-readable automated testing
PDF
Introduce Angular2 & render & firebase flow
PPTX
A guide to getting started with WebdriverIO
PDF
Making sense of the front-end, for PHP developers
PDF
Zero cost serverless Real time web app
PPTX
Test Driven Development in CQ5/AEM
PDF
Morden F2E Education - Think of Progressive Web Apps
PDF
Test Driven Development in AEM/CQ5
PPT
Test-Driven Development
PPT
Test-Driven Development
PPT
Test Driven Development
PDF
The state of Jenkins pipelines or do I still need freestyle jobs
PPTX
Integration of automation framework with ci tools
PPTX
How do we test nodejs apps?
PPTX
Annotation processing
PPTX
Acceptance testing with codeception
PPT
8 - Javascript unit testing framework
PPTX
How to get data with Google Tag Manager when developer is not available
PDF
Open Source Software Contribution
Five steps towards your testing dream
Behat - human-readable automated testing
Introduce Angular2 & render & firebase flow
A guide to getting started with WebdriverIO
Making sense of the front-end, for PHP developers
Zero cost serverless Real time web app
Test Driven Development in CQ5/AEM
Morden F2E Education - Think of Progressive Web Apps
Test Driven Development in AEM/CQ5
Test-Driven Development
Test-Driven Development
Test Driven Development
The state of Jenkins pipelines or do I still need freestyle jobs
Integration of automation framework with ci tools
How do we test nodejs apps?
Annotation processing
Acceptance testing with codeception
8 - Javascript unit testing framework
How to get data with Google Tag Manager when developer is not available
Open Source Software Contribution
Ad

Similar to HTML 5 – Let’s Make Progress [eduWeb 2011] (20)

PPTX
HTML 5 – Let's Make Progress [pseweb 2011]
PDF
Manual en Dive Into html5
PPT
Html5 basics
PPTX
PPTX
Html 5
PPTX
HTML5 - Let’s make the WEB more powerful
PPT
Html5 Future of WEB
DOC
HTML5 vs Flash : Term paper at VGSOM, IIT Kharagpur
PPTX
Html5 tutorial for beginners
PPTX
Html5 today
ZIP
HTML5 Report Card
PPTX
HTML5 introduction for beginners
PPSX
HTML5 Tutorial
PPT
PPT
Html5
PPT
PPT
Html5
PPT
PPT
PPT
HTML 5 – Let's Make Progress [pseweb 2011]
Manual en Dive Into html5
Html5 basics
Html 5
HTML5 - Let’s make the WEB more powerful
Html5 Future of WEB
HTML5 vs Flash : Term paper at VGSOM, IIT Kharagpur
Html5 tutorial for beginners
Html5 today
HTML5 Report Card
HTML5 introduction for beginners
HTML5 Tutorial
Html5
Html5
Ad

Recently uploaded (20)

PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Lesson notes of climatology university.
PDF
01-Introduction-to-Information-Management.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
master seminar digital applications in india
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Classroom Observation Tools for Teachers
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Cell Types and Its function , kingdom of life
PDF
Complications of Minimal Access Surgery at WLH
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Lesson notes of climatology university.
01-Introduction-to-Information-Management.pdf
O7-L3 Supply Chain Operations - ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
O5-L3 Freight Transport Ops (International) V1.pdf
Anesthesia in Laparoscopic Surgery in India
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
master seminar digital applications in india
human mycosis Human fungal infections are called human mycosis..pptx
Classroom Observation Tools for Teachers
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
202450812 BayCHI UCSC-SV 20250812 v17.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Cell Types and Its function , kingdom of life
Complications of Minimal Access Surgery at WLH
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
VCE English Exam - Section C Student Revision Booklet

HTML 5 – Let’s Make Progress [eduWeb 2011]

  • 1. Let’s Make ProgressShahab LashkariProduct ManagerOmniUpdate, Inc.shahab@omniupdate.com@OUShahab
  • 2. OverviewWhat it isWhat it isn’tSemanticsFormsVideoCanvas vs. SVG vs. CSS3CompatibilityQuestions?
  • 3. What is HTML 5?The latest revision of the HTML standardContains both HTML 4 and XHTML 1Though some elements have been deprecatedCan be written in either syntaxNew APIs (e.g., canvas, offline storage, media playback, drag-and-drop, etc.)New rules for error handling (!)
  • 4. What HTML 5 is not…An official W3C recommendationyet A silver bulletFully supported in [m]any browsers
  • 9. New form input typesemailurltelnumberrangesearchdatemonthweektimecoloretc.e.g., <input type="email">
  • 10. FormsNew input types can make life easier on mobile devices!
  • 11. New form input attributesautofocus*placeholderrequired*patternspeech?*etc.*booleanattributes
  • 12. Boolean attributes<input type="email" autofocus><input type="email" autofocus="autofocus"><input type="email" autofocus="true"><input type="email" autofocus="false">
  • 13. <video><video id="myvideo" … > <source … />… your fallback code goes here …</video>Use JavaScript to interact with DOM and create your own video controlsdocument.getElementById("myvideo").play();
  • 15. Canvas vs. SVG vs. CSS3Canvas is essentially a sketchpadScalable Vector Graphics use math to create imagesCSS3 can do some prettyamazingthings
  • 16. CompatibilityShould I be sniffing for user agent?Then how will I know which features are supported?What if I want to use a feature that isn’t supported in all browsers?
  • 17. Should I be sniffing for user agent?NO
  • 18. Which features are supported?Mark Pilgrim suggests using one of 4 techniques:Check if a certain property exists on a global object (such as window or navigator).Example: testing for geolocationsupportCreate an element, then check if a certain property exists on that element.Example: testing for canvas supportCreate an element, check if a certain method exists on that element, then call the method and check the value it returns.Example: testing which video formats are supportedCreate an element, set a property to a certain value, then check if the property has retained its value.Example: testing which <input> types are supported
  • 19. Useful ResourcesModernizrhttp://www.modernizr.com/When can I use…http://www.caniuse.com/HTML5 Boilerplatehttp://html5boilerplate.com/
  • 20. What if I want to use an unsupported feature?do websites need to look exactly the same in every browser?
  • 21. What if I want to use an unsupported feature?dowebsitesneedtolookexactlythesameineverybrowser.com
  • 23. ReferencesDive into HTML5 - http://diveintohtml5.orgA List Apart - http://www.alistapart.com/articles/previewofhtml5W3C - http://www.w3.org/html5Wikipedia - http://en.wikipedia.org/wiki/HTML5_videoHTML5 Rocks - http://www.html5rocks.com
  • 24. Examples in higher educationUniversity of DenverThe University of North Dakota
  • 25. Thank you!Shahab LashkariProduct ManagerOmniUpdate, Inc.shahab@omniupdate.com@OUShahab