SlideShare a Scribd company logo
1 of 22
1
Agenda
2



      HTML5 – A Brief History
     HTML5 Browser Support
     HTML5 Features/Demos
     The Road Ahead
A Brief History
3



       WHAT : Next generation HTML
       WHO : WHATG, W3C, IETF
       WHEN : 2004, 2008, May 2011, 2014
       All vendors support it ! (Is that true?)
       A lot of stuff – you can use today!
Browser Support
4



     Widespread
     Support is increasing with every browser release
     IE included
     For older browsers, polyfills can fill the gap
     Use tools like http://caniuse.com , http://html5test.com,
     Modernizr
HTML5 Features
5
6


       Keep it simple (Example doctype)
       Structural meaning
       Richer Set of Tags
       Eliminated Several Tags too
       Microdata
Simplified DOCTYPE
7

           HTML4/XHTML
    •    HTML 4.01 Strict
    •    HTML 4.01 Transitional
    •    HTML 4.01 Frameset
    •    XHTML 1.0 Strict
    •    XHTML 1.0 Transitional
    •    XHTML 1.0 Frameset
    •    XHTML 1.1


        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
        Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">



                                            HTML5

                                      <!DOCTYPE html>
Simplified Character Set
8




                   HTML4

      <meta http-equiv="Content-Type"
    content="text/html; charset=utf-8">



                            HTML5

                    <meta charset=utf-8>
Semantics
9


       <header>
       <nav>
       <section>
       <article>
       <footer>
       <aside>
Forms
10

      Aims to make development and usage of forms
      easier. No Javascript required.
      Input Types
            email
            phone
            url
            date, datetime, month, week, time, datetime-local)
            color
            search
            number and range
Forms
11




     Screenshots : Courtesy – Mark Pilgrim, http://diveintohtml5.org
12



        2D Drawing API
        Functions : line, arcs, rectangle, fills
        Allows styling via CSS
        Allows control via Javascript
        Can be used for:
             Charts, Animation, Images and other complex
             rendering.
13


        Audio and video are first class citizens in the HTML5
         web
        A plug-in free world
14



        Simple tags : <video>, <audio>
        Even Simpler usage:
         <video src=“demo.mp4”></video>
         <audio src=“song.mp3”></audio>
        Control via APIs
          Play
          Pause
          Stop
Device Access
15


        Geolocation API
        Drag and Drop
        Filesystem API
        Speech Input
        Device orientation (accelerometer)
        Webcam (bar code, QR code scanning)
        Audio devices (speech input)
        Local data such as contacts & events
Geolocation API
16


     Determine where the device is. Find it right in
     the browser.
        Useful for providing location based services.
        User should be allowed to opt in.
     API allows for both : one time location and
     continuous location.
Offline & Storage
17


        Web Apps can start faster and work even if there is
         no internet connection, thanks to the HTML5 App
         Cache, as well as the Local Storage, Indexed DB,
         and the File API specifications.
Storage API
18


        Allows local storage of application data
        5MB – 10MB per domain
        Key component to offline usage
        Types of Storage options:
Other HTML5 features
19


        Performance & Integration : Web Workers
        Connectivity : WebSockets
        IndexedDB
        ContentEditable
        Cross Document Messaging
        Browser History Management
State of HTML5 – Recommendation
20



        Differing browser support & behaviour
        Use sites like HTML5Test.com, CanIUse.com to
         understand Browser support for HTML5
        Fallback behaviour is important
        Great time to get started today!
        Be prepared for changes
        All vendors are supporting it
References
21


      W3C    : http://dev.w3.org/html5/spec/Overview.html
      HTML5 Rocks: http://www.html5rocks.com
      Mark Pilgrim : http://diveintohtml5.org
      Remy Sharp : http://html5demos.com
      HTML5 Tech Spec : http://developers.whatwg.org
      Modernizr : http://www.modernizr.com/
      Caniuse : http://www.caniuse.com
      HTML5Test : http://www.html5test.com
      https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browse
Thank You
22

      Q&A
      romin.irani@mindstormsoftware.com
      http://www.mindstormsoftware.com
      Twitter : @iRomin
      Upcoming 2-Day HTML5 Hands On Workshop from
      Mind Storm Software in Mumbai
      Write me an email !

More Related Content

What's hot

0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
GeneXus
 
Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...
Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...
Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...
adamhorvath
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Gabriel Villa
 
Chrome Extension Develop Starts
Chrome Extension Develop StartsChrome Extension Develop Starts
Chrome Extension Develop Starts
taobao.com
 

What's hot (20)

HTML5 for the Ruby Developer
HTML5 for the Ruby DeveloperHTML5 for the Ruby Developer
HTML5 for the Ruby Developer
 
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
 
Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...
Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...
Chrome Extension Development - Adam Horvath, Google Technology User Group, Sy...
 
Information resources – IBM WebSphere Portal
Information resources – IBM WebSphere PortalInformation resources – IBM WebSphere Portal
Information resources – IBM WebSphere Portal
 
Integrate any Angular Project into WebSphere Portal
Integrate any Angular Project into WebSphere PortalIntegrate any Angular Project into WebSphere Portal
Integrate any Angular Project into WebSphere Portal
 
Android Development...Using Web Technologies
Android Development...Using Web TechnologiesAndroid Development...Using Web Technologies
Android Development...Using Web Technologies
 
Frontend development of the (current) future
Frontend development of the (current) futureFrontend development of the (current) future
Frontend development of the (current) future
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
 
Discovering Chrome Extensions
Discovering Chrome ExtensionsDiscovering Chrome Extensions
Discovering Chrome Extensions
 
The Status Of Web Interoperability And Activities In China, Japan And Korea
The Status Of Web Interoperability And Activities In China, Japan And KoreaThe Status Of Web Interoperability And Activities In China, Japan And Korea
The Status Of Web Interoperability And Activities In China, Japan And Korea
 
Modern Web Development
Modern Web DevelopmentModern Web Development
Modern Web Development
 
The Full Stack Web Development
The Full Stack Web DevelopmentThe Full Stack Web Development
The Full Stack Web Development
 
Flexbox
FlexboxFlexbox
Flexbox
 
Chrome Extension Develop Starts
Chrome Extension Develop StartsChrome Extension Develop Starts
Chrome Extension Develop Starts
 
Lecture 11 - Web components
Lecture 11 - Web componentsLecture 11 - Web components
Lecture 11 - Web components
 
Web application framework
Web application frameworkWeb application framework
Web application framework
 
Web Development, Константин Пелиховский (PM, 111PIX UA)
Web Development, Константин Пелиховский (PM, 111PIX UA)Web Development, Константин Пелиховский (PM, 111PIX UA)
Web Development, Константин Пелиховский (PM, 111PIX UA)
 
Web Development
Web DevelopmentWeb Development
Web Development
 
Web Development Presentation
Web Development PresentationWeb Development Presentation
Web Development Presentation
 
Chrome extension development
Chrome extension developmentChrome extension development
Chrome extension development
 

Viewers also liked

Android developer webinar-march-2012-mindstormsoftware
Android developer webinar-march-2012-mindstormsoftwareAndroid developer webinar-march-2012-mindstormsoftware
Android developer webinar-march-2012-mindstormsoftware
Romin Irani
 
HSPA - Reality Golf Instruction
HSPA - Reality Golf InstructionHSPA - Reality Golf Instruction
HSPA - Reality Golf Instruction
AJ Teachout
 
40115
4011540115
40115
2C3G
 

Viewers also liked (15)

Android developer webinar-march-2012-mindstormsoftware
Android developer webinar-march-2012-mindstormsoftwareAndroid developer webinar-march-2012-mindstormsoftware
Android developer webinar-march-2012-mindstormsoftware
 
2010 Jeep Patriot Viva Chrysler Jeep Dodge El Paso TX
2010 Jeep Patriot Viva Chrysler Jeep Dodge El Paso TX2010 Jeep Patriot Viva Chrysler Jeep Dodge El Paso TX
2010 Jeep Patriot Viva Chrysler Jeep Dodge El Paso TX
 
2010 Jeep Grand Cherokee Viva Chrysler Jeep Dodge El Paso TX
2010 Jeep Grand Cherokee  Viva Chrysler Jeep Dodge El Paso TX2010 Jeep Grand Cherokee  Viva Chrysler Jeep Dodge El Paso TX
2010 Jeep Grand Cherokee Viva Chrysler Jeep Dodge El Paso TX
 
2010 Jeep Compass Viva Chrysler Jeep Dodge El Paso TX
2010 Jeep Compass Viva Chrysler Jeep Dodge El Paso TX2010 Jeep Compass Viva Chrysler Jeep Dodge El Paso TX
2010 Jeep Compass Viva Chrysler Jeep Dodge El Paso TX
 
Talk on Future of Enterprise Mobile App Development
Talk on Future of Enterprise Mobile App DevelopmentTalk on Future of Enterprise Mobile App Development
Talk on Future of Enterprise Mobile App Development
 
10 kreativa sätt att öka försäljningen på nätet
10 kreativa sätt att öka försäljningen på nätet10 kreativa sätt att öka försäljningen på nätet
10 kreativa sätt att öka försäljningen på nätet
 
2010 Jeep Liberty Viva Chrysler Jeep Dodge El Paso TX
2010 Jeep Liberty Viva Chrysler Jeep Dodge El Paso TX2010 Jeep Liberty Viva Chrysler Jeep Dodge El Paso TX
2010 Jeep Liberty Viva Chrysler Jeep Dodge El Paso TX
 
10 kreativa sätt att öka försäljningen på nätet
10 kreativa sätt att öka försäljningen på nätet10 kreativa sätt att öka försäljningen på nätet
10 kreativa sätt att öka försäljningen på nätet
 
Cher Wear
Cher WearCher Wear
Cher Wear
 
Internet of Things Overview
Internet of Things OverviewInternet of Things Overview
Internet of Things Overview
 
Powering your Apps via Google Cloud Platform
Powering your Apps via Google Cloud PlatformPowering your Apps via Google Cloud Platform
Powering your Apps via Google Cloud Platform
 
HSPA - Reality Golf Instruction
HSPA - Reality Golf InstructionHSPA - Reality Golf Instruction
HSPA - Reality Golf Instruction
 
How to get business ready for Wearables: GDayX Mumbai 2014
How to get business ready for Wearables: GDayX Mumbai 2014How to get business ready for Wearables: GDayX Mumbai 2014
How to get business ready for Wearables: GDayX Mumbai 2014
 
Smart Computing : Cloud + Mobile + Social
Smart Computing : Cloud + Mobile + SocialSmart Computing : Cloud + Mobile + Social
Smart Computing : Cloud + Mobile + Social
 
40115
4011540115
40115
 

Similar to HTML5 Webinar - Mind Storm Software

Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
Mobile Web Applications using HTML5  [IndicThreads Mobile Application Develop...Mobile Web Applications using HTML5  [IndicThreads Mobile Application Develop...
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
IndicThreads
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
Cgs html 5-service
Cgs html 5-serviceCgs html 5-service
Cgs html 5-service
Constient
 
European SharePoint Conference: Mobile Applications for SharePoint using HTML5
European SharePoint Conference: Mobile Applications for SharePoint using HTML5European SharePoint Conference: Mobile Applications for SharePoint using HTML5
European SharePoint Conference: Mobile Applications for SharePoint using HTML5
Christian Heindel
 
HTML5: Next Generation Web Development
HTML5: Next Generation Web DevelopmentHTML5: Next Generation Web Development
HTML5: Next Generation Web Development
Dipesh Mukerji
 

Similar to HTML5 Webinar - Mind Storm Software (20)

Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
Mobile Web Applications using HTML5  [IndicThreads Mobile Application Develop...Mobile Web Applications using HTML5  [IndicThreads Mobile Application Develop...
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
 
Thadomal IEEE-HTML5-Workshop
Thadomal IEEE-HTML5-WorkshopThadomal IEEE-HTML5-Workshop
Thadomal IEEE-HTML5-Workshop
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginners
 
Html5
Html5Html5
Html5
 
Change by HTML5
Change by HTML5Change by HTML5
Change by HTML5
 
HTML5 Technical Executive Summary
HTML5 Technical Executive SummaryHTML5 Technical Executive Summary
HTML5 Technical Executive Summary
 
Cgs html 5-service
Cgs html 5-serviceCgs html 5-service
Cgs html 5-service
 
European SharePoint Conference: Mobile Applications for SharePoint using HTML5
European SharePoint Conference: Mobile Applications for SharePoint using HTML5European SharePoint Conference: Mobile Applications for SharePoint using HTML5
European SharePoint Conference: Mobile Applications for SharePoint using HTML5
 
HTML5
HTML5HTML5
HTML5
 
Workshop HTML5+PhoneGap by Ivano Malavolta
Workshop HTML5+PhoneGap by Ivano Malavolta Workshop HTML5+PhoneGap by Ivano Malavolta
Workshop HTML5+PhoneGap by Ivano Malavolta
 
HTML5 - The Python Angle (PyCon Ireland 2010)
HTML5 - The Python Angle (PyCon Ireland 2010)HTML5 - The Python Angle (PyCon Ireland 2010)
HTML5 - The Python Angle (PyCon Ireland 2010)
 
10 Things To Make You a Great Mobile Web Developer
10 Things To Make You a Great Mobile Web Developer10 Things To Make You a Great Mobile Web Developer
10 Things To Make You a Great Mobile Web Developer
 
10 Things To Make You a Great Mobile Web Developer
10 Things To Make You a Great Mobile Web Developer10 Things To Make You a Great Mobile Web Developer
10 Things To Make You a Great Mobile Web Developer
 
10 things to make you a Great Mobile Web Developer
10 things to make you a Great Mobile Web Developer10 things to make you a Great Mobile Web Developer
10 things to make you a Great Mobile Web Developer
 
HTML5: Next Generation Web Development
HTML5: Next Generation Web DevelopmentHTML5: Next Generation Web Development
HTML5: Next Generation Web Development
 
Keypoints html5
Keypoints html5Keypoints html5
Keypoints html5
 
HTML5: the new frontier of the web
HTML5: the new frontier of the webHTML5: the new frontier of the web
HTML5: the new frontier of the web
 
HTML5 Comprehensive Guide
HTML5 Comprehensive GuideHTML5 Comprehensive Guide
HTML5 Comprehensive Guide
 
HTML 5
HTML 5HTML 5
HTML 5
 

More from Romin Irani

More from Romin Irani (9)

Google Cloud Platform Update - NEXT 2017
Google Cloud Platform Update - NEXT 2017Google Cloud Platform Update - NEXT 2017
Google Cloud Platform Update - NEXT 2017
 
Introduction to Google Cloud Machine Learning APIs
Introduction to Google Cloud Machine Learning APIsIntroduction to Google Cloud Machine Learning APIs
Introduction to Google Cloud Machine Learning APIs
 
The Journey to conversational interfaces
The Journey to conversational interfacesThe Journey to conversational interfaces
The Journey to conversational interfaces
 
Blogging Tips - A guide to why you should blog
Blogging Tips - A guide to why you should blogBlogging Tips - A guide to why you should blog
Blogging Tips - A guide to why you should blog
 
How to Contribute to your Project
How to Contribute to your ProjectHow to Contribute to your Project
How to Contribute to your Project
 
Go Language Hands-on Workshop Material
Go Language Hands-on Workshop MaterialGo Language Hands-on Workshop Material
Go Language Hands-on Workshop Material
 
Google Cloud Platform Updates
Google Cloud Platform UpdatesGoogle Cloud Platform Updates
Google Cloud Platform Updates
 
Gradle and Android Studio : Best of Friends
Gradle and Android Studio : Best of FriendsGradle and Android Studio : Best of Friends
Gradle and Android Studio : Best of Friends
 
Development Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsDevelopment Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElements
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Recently uploaded (20)

Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
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
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 

HTML5 Webinar - Mind Storm Software

  • 1. 1
  • 2. Agenda 2  HTML5 – A Brief History  HTML5 Browser Support  HTML5 Features/Demos  The Road Ahead
  • 3. A Brief History 3  WHAT : Next generation HTML  WHO : WHATG, W3C, IETF  WHEN : 2004, 2008, May 2011, 2014  All vendors support it ! (Is that true?)  A lot of stuff – you can use today!
  • 4. Browser Support 4  Widespread  Support is increasing with every browser release  IE included  For older browsers, polyfills can fill the gap  Use tools like http://caniuse.com , http://html5test.com, Modernizr
  • 6. 6  Keep it simple (Example doctype)  Structural meaning  Richer Set of Tags  Eliminated Several Tags too  Microdata
  • 7. Simplified DOCTYPE 7 HTML4/XHTML • HTML 4.01 Strict • HTML 4.01 Transitional • HTML 4.01 Frameset • XHTML 1.0 Strict • XHTML 1.0 Transitional • XHTML 1.0 Frameset • XHTML 1.1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> HTML5 <!DOCTYPE html>
  • 8. Simplified Character Set 8 HTML4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> HTML5 <meta charset=utf-8>
  • 9. Semantics 9  <header>  <nav>  <section>  <article>  <footer>  <aside>
  • 10. Forms 10  Aims to make development and usage of forms easier. No Javascript required.  Input Types  email  phone  url  date, datetime, month, week, time, datetime-local)  color  search  number and range
  • 11. Forms 11 Screenshots : Courtesy – Mark Pilgrim, http://diveintohtml5.org
  • 12. 12  2D Drawing API  Functions : line, arcs, rectangle, fills  Allows styling via CSS  Allows control via Javascript  Can be used for:  Charts, Animation, Images and other complex rendering.
  • 13. 13  Audio and video are first class citizens in the HTML5 web  A plug-in free world
  • 14. 14  Simple tags : <video>, <audio>  Even Simpler usage: <video src=“demo.mp4”></video> <audio src=“song.mp3”></audio>  Control via APIs  Play  Pause  Stop
  • 15. Device Access 15  Geolocation API  Drag and Drop  Filesystem API  Speech Input  Device orientation (accelerometer)  Webcam (bar code, QR code scanning)  Audio devices (speech input)  Local data such as contacts & events
  • 16. Geolocation API 16 Determine where the device is. Find it right in the browser.  Useful for providing location based services.  User should be allowed to opt in. API allows for both : one time location and continuous location.
  • 17. Offline & Storage 17  Web Apps can start faster and work even if there is no internet connection, thanks to the HTML5 App Cache, as well as the Local Storage, Indexed DB, and the File API specifications.
  • 18. Storage API 18  Allows local storage of application data  5MB – 10MB per domain  Key component to offline usage  Types of Storage options:
  • 19. Other HTML5 features 19  Performance & Integration : Web Workers  Connectivity : WebSockets  IndexedDB  ContentEditable  Cross Document Messaging  Browser History Management
  • 20. State of HTML5 – Recommendation 20  Differing browser support & behaviour  Use sites like HTML5Test.com, CanIUse.com to understand Browser support for HTML5  Fallback behaviour is important  Great time to get started today!  Be prepared for changes  All vendors are supporting it
  • 21. References 21  W3C : http://dev.w3.org/html5/spec/Overview.html  HTML5 Rocks: http://www.html5rocks.com  Mark Pilgrim : http://diveintohtml5.org  Remy Sharp : http://html5demos.com  HTML5 Tech Spec : http://developers.whatwg.org  Modernizr : http://www.modernizr.com/  Caniuse : http://www.caniuse.com  HTML5Test : http://www.html5test.com  https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browse
  • 22. Thank You 22  Q&A  romin.irani@mindstormsoftware.com  http://www.mindstormsoftware.com  Twitter : @iRomin  Upcoming 2-Day HTML5 Hands On Workshop from Mind Storm Software in Mumbai  Write me an email !