SlideShare a Scribd company logo
Fundamentals of HTML5
Craig Shoemaker
craig@craigshoemaker.net
@craigshoemaker
Craig Shoemaker
craig@craigshoemaker.net
@craigshoemaker
What is HTML5?
Semantic Markup
+ JavaScript APIs
           HTML5
Semantic Markup
   <article>                           <footer>                 <rt>
   <aside>                             <header>                 <ruby>
   <audio>                             <hgroup>                 <section>
   <canvas>                            <keygen>                 <source>
   <command>                           <mark>                   <summary>
   <datalist>                          <meter>                  <time>
   <details>                           <nav>                    <video>
   <embed>                             <output>                 <wbr>
   <figcaption>                        <progress>
   <figure>                            <rp>
   Source: http://www.w3schools.com/html5/html5_reference.asp
Article
Aside
Audio
    Source

Video
    Source
Canvas
Command
Datalist
Summary



Details
Embed
Figure


Figcaption
Footer
Header
Keygen
Mark
Meter
Nav
Output
Progress
RP
RT
Rub
Section
Time
Wbr
Semantic Markup
   <article>                           <footer>                 <rt>
   <aside>                             <header>                 <ruby>
   <audio>                             <hgroup>                 <section>
   <canvas>                            <keygen>                 <source>
   <command>                           <mark>                   <summary>
   <datalist>                          <meter>                  <time>
   <details>                           <nav>                    <video>
   <embed>                             <output>                 <wbr>
   <figcaption>                        <progress>
   <figure>                            <rp>
   Source: http://www.w3schools.com/html5/html5_reference.asp
Semantic Markup
   <article>                           <footer>                 <rt>
   <aside>                             <header>                 <ruby>
   <audio>                             <hgroup>                 <section>
   <canvas>                            <keygen>                 <source>
   <command>                           <mark>                   <summary>
   <datalist>                          <meter>                  <time>
   <details>                           <nav>                    <video>
   <embed>                             <output>                 <wbr>
   <figcaption>                        <progress>
   <figure>                            <rp>
   Source: http://www.w3schools.com/html5/html5_reference.asp
JavaScript APIs
   Canvas 2D Context                                       Appllications
   Contacts                                                Selection
   File APIs                                               Server-Sent Events
   Forms                                                   Web Notifications
   Geolocation                                             Web Sockets
   HTML Microdata                                          Web Storage
   Indexed Database                                        Web Workers
   Media Capture                                           XMLHttpRequest Level 2
   Messaging
   Offline Web
   Source: http://dret.typepad.com/dretblog/html5-api-overview.html
Contacts
Selection
Offline Apps
Indexed Database
Web Workers
Web Storage
Web Sockets
Server-Sent Events
XMLHttpRequest Level 2
Geolocation
Canvas
Microdata
Media Capture
Messaging
Forms
File APIs
JavaScript APIs
   Canvas 2D Context        Selection
   Contacts                 Server-Sent Events
   File APIs                Web Notifications
   Forms                    Web Sockets
   Geolocation              Web Storage
   HTML Microdata           Web Workers
   Indexed Database         XMLHttpRequest Level 2
   Media Capture
   Messaging
   Offline Web Applications
   Source: http://dret.typepad.com/dretblog/html5-api-overview.html
JavaScript APIs
   Contacts                                                Geolocation
   Selection                                               Canvas 2D Context
   Offline Apps                                            HTML Microdata
   Indexed Database                                        Media Capture
   Web Workers                                             Messaging
   Web Storage                                             Forms
   Web Sockets                                             File API
   Web SQL DB
   Server Events
   XMLHttpRequest Level 2
   Source: http://dret.typepad.com/dretblog/html5-api-overview.html
2022?
Semantic Markup
HTML4/XHTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>About the Show – Polymorphic Podcast</title>
    <style type="text/css">h1{color:#ff9900;}</style>
    <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
</head>
<body>
   <h1>Polymorphic Podcast</h1>
   <h2>About the Show</h2>
   <p><a href="http://weblogs.asp.net/craigshoemaker">Craig
    Shoemaker</a> is a software developer, podcaster, blogger and New-
    Media Evangelist for <a
    href="http://infragistics.com/">Infragistics</a>.</p>
</body>
</html>
HTML5
<!doctype html>
<html lang="en">
<head>
    <title>About the Show – Polymorphic Podcast</title>
    <style>h1{color:#ff9900;}</style>
    <script src="jquery-1.4.2.min.js"></script>
</head>
<body>
   <header>
      <hgroup>
         <h1>Polymorphic Podcast</h1>
         <h2>About the Show</h2>
      </hgroup>
   </header>
   <p><a href="http://weblogs.asp.net/craigshoemaker">Craig
    Shoemaker</a> is a software developer, podcaster, blogger and New-
    Media Evangelist for <a
    href="http://infragistics.com/">Infragistics</a>.</p>
</body>
</html>
Demo…
Native Media Support
Audio
   wav
   mp3
   ogg vorbis
Video
   h.264
   ogg theora
   webm
Demo…
Updated Selector Engine
   css selectors
Demo…
Canvas
Demo…
Forms API
   email                                                time
   url                                                  search
   number                                               color
   range
   date




   Source: http://www.w3schools.com/html5/html5_form_input_types.asp
Forms API
   email                                                time
   url                                                  search
   number                                               color
   range
   date




   Source: http://www.w3schools.com/html5/html5_form_input_types.asp
The Fundamentals of HTML5
The Fundamentals of HTML5
The Fundamentals of HTML5
The Fundamentals of HTML5
Demo…
Web Storage
   local storage
   session storage
   web sql/indexed db
Web Storage
   local storage
   session storage
   web sql/indexed db
Demo…
WebWorkers
Demo…
Geolocation
User-
        IP Address                         Coordinate Triangulation        Defined
                                GPS                 WiFi      Cell Phone

       Available
       Everywhere
Pros
       Processed
       Server Side




       Low
       Accuracy
Cons
       High
       Processing
       Overhead




            Source: Pro HTML5 Programming, Apress
User-
        IP Address                         Coordinate Triangulation        Defined
                                GPS                 WiFi      Cell Phone

       Available          High
       Everywhere         Accuracy
Pros
       Processed
       Server Side




       Low                Long
       Accuracy           Operation
Cons
       High               Not Optimal
       Processing         for Indoors
       Overhead
                          Hardware
                          Req’d




            Source: Pro HTML5 Programming, Apress
User-
        IP Address                         Coordinate Triangulation          Defined
                                GPS                 WiFi        Cell Phone

       Available          High                 Accurate
       Everywhere         Accuracy
Pros                                           Works Indoors
       Processed
       Server Side                             Quick & Cheap
                                               Response




       Low                Long                 Ineffective in
       Accuracy           Operation            Areas with
Cons                                           Limited Access
       High               Not Optimal          Points
       Processing         for Indoors
       Overhead
                          Hardware
                          Req’d




            Source: Pro HTML5 Programming, Apress
User-
        IP Address                         Coordinate Triangulation           Defined
                                GPS                 WiFi         Cell Phone

       Available          High                 Accurate         Fairly
       Everywhere         Accuracy                              Accurate
Pros                                           Works Indoors
       Processed                                                Works
       Server Side                             Quick & Cheap    Indoors
                                               Response
                                                                Quick &
                                                                Cheap
                                                                Response


       Low                Long                 Ineffective in   Req. access
       Accuracy           Operation            Areas with       to cell
Cons                                           Limited Access   phone or
       High               Not Optimal          Points           modem
       Processing         for Indoors
       Overhead                                                 Ineffective
                          Hardware                              in Areas
                          Req’d                                 with Few
                                                                Cell Towers



            Source: Pro HTML5 Programming, Apress
User-
        IP Address                         Coordinate Triangulation              Defined
                                GPS                 WiFi         Cell Phone

       Available          High                 Accurate         Fairly        High Accuracy
       Everywhere         Accuracy                              Accurate
Pros                                           Works Indoors                  Flexibility to
       Processed                                                Works         Designate Alt.
       Server Side                             Quick & Cheap    Indoors       Locations
                                               Response
                                                                Quick &       May be Fastest
                                                                Cheap         Option
                                                                Response


       Low                Long                 Ineffective in   Req. access   Can be Very
       Accuracy           Operation            Areas with       to cell       Inaccurate
Cons                                           Limited Access   phone or      (esp. if
       High               Not Optimal          Points           modem         locations
       Processing         for Indoors                                         change)
       Overhead                                                 Ineffective
                          Hardware                              in Areas
                          Req’d                                 with Few
                                                                Cell Towers



            Source: Pro HTML5 Programming, Apress
Demo…
Fundamentals of HTML5
Craig Shoemaker
craig@craigshoemaker.net
@craigshoemaker

More Related Content

PDF
Frank Mantek Google G Data
PDF
Top Ten Web Attacks
PDF
Python - A Comprehensive Programming Language
PDF
PassKit on iOS 6
PDF
Dave Carroll Application Services Salesforce
KEY
PassKit on iOS6
PDF
Composing Domain-Specific Languages
PDF
[Infosecworld 08 Orlando] CSRF: The Biggest Little Vulnerability on the Web
Frank Mantek Google G Data
Top Ten Web Attacks
Python - A Comprehensive Programming Language
PassKit on iOS 6
Dave Carroll Application Services Salesforce
PassKit on iOS6
Composing Domain-Specific Languages
[Infosecworld 08 Orlando] CSRF: The Biggest Little Vulnerability on the Web

Similar to The Fundamentals of HTML5 (20)

PPTX
Html 5 Revolution
PDF
HTML5: State of the Union
PDF
Attractive HTML5~開発者の視点から~
PDF
Building Cloud-Based Cross-Platform Mobile Web Apps
PPTX
HTML5: An Overview
PPTX
HTML5 - Pedro Rosa
PDF
HTML5 and Beyond
PPTX
HTML5 on Mobile
PDF
InfoTalk#17 1st
PDF
Web Standards Infographics
PPTX
HTML5 표준 소개
PPTX
HTML5 for Rich User Experience
PDF
Mobile Web Development with HTML5
KEY
Html5 For Jjugccc2009fall
PDF
Cross platform mobile web apps
KEY
WHAT IS HTML5? (at CSS Nite Osaka)
PDF
HTML5 and the dawn of rich mobile web applications
PDF
HTML5 Essentials
PDF
Change by HTML5
PDF
Building cross platform mobile web apps
Html 5 Revolution
HTML5: State of the Union
Attractive HTML5~開発者の視点から~
Building Cloud-Based Cross-Platform Mobile Web Apps
HTML5: An Overview
HTML5 - Pedro Rosa
HTML5 and Beyond
HTML5 on Mobile
InfoTalk#17 1st
Web Standards Infographics
HTML5 표준 소개
HTML5 for Rich User Experience
Mobile Web Development with HTML5
Html5 For Jjugccc2009fall
Cross platform mobile web apps
WHAT IS HTML5? (at CSS Nite Osaka)
HTML5 and the dawn of rich mobile web applications
HTML5 Essentials
Change by HTML5
Building cross platform mobile web apps
Ad

More from DataLeader.io (11)

PPTX
An Introduction to Amazon Aurora Cloud-native Relational Database
PPTX
Amazon Aurora Cloud-native Relational Database, Section 2.0
PPTX
Amazon Aurora Relational Database Built for the AWS Cloud, Version 1 Series
DOCX
Kim Schmidt's Resume
PPTX
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
PPTX
The Zen of Silverlight
PPTX
How to Build Composite Applications with PRISM
PPTX
Microsoft Kinect & the Microsoft MIX11 Game Preview
PPTX
Managing High Availability with Low Cost
PPTX
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
PPTX
Building Applications with the Microsoft Kinect SDK
An Introduction to Amazon Aurora Cloud-native Relational Database
Amazon Aurora Cloud-native Relational Database, Section 2.0
Amazon Aurora Relational Database Built for the AWS Cloud, Version 1 Series
Kim Schmidt's Resume
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
The Zen of Silverlight
How to Build Composite Applications with PRISM
Microsoft Kinect & the Microsoft MIX11 Game Preview
Managing High Availability with Low Cost
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
Building Applications with the Microsoft Kinect SDK
Ad

Recently uploaded (20)

PDF
System and Network Administration Chapter 2
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
top salesforce developer skills in 2025.pdf
PPTX
assetexplorer- product-overview - presentation
PPTX
history of c programming in notes for students .pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
Cost to Outsource Software Development in 2025
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Design an Analysis of Algorithms II-SECS-1021-03
System and Network Administration Chapter 2
Upgrade and Innovation Strategies for SAP ERP Customers
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
top salesforce developer skills in 2025.pdf
assetexplorer- product-overview - presentation
history of c programming in notes for students .pptx
Nekopoi APK 2025 free lastest update
Cost to Outsource Software Development in 2025
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PTS Company Brochure 2025 (1).pdf.......
Wondershare Filmora 15 Crack With Activation Key [2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Digital Systems & Binary Numbers (comprehensive )
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Softaken Excel to vCard Converter Software.pdf
Reimagine Home Health with the Power of Agentic AI​
Which alternative to Crystal Reports is best for small or large businesses.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Odoo POS Development Services by CandidRoot Solutions
Design an Analysis of Algorithms II-SECS-1021-03

The Fundamentals of HTML5

  • 1. Fundamentals of HTML5 Craig Shoemaker craig@craigshoemaker.net @craigshoemaker
  • 5. Semantic Markup <article> <footer> <rt> <aside> <header> <ruby> <audio> <hgroup> <section> <canvas> <keygen> <source> <command> <mark> <summary> <datalist> <meter> <time> <details> <nav> <video> <embed> <output> <wbr> <figcaption> <progress> <figure> <rp> Source: http://www.w3schools.com/html5/html5_reference.asp
  • 8. Audio Source Video Source
  • 13. Embed
  • 18. Mark
  • 19. Meter
  • 20. Nav
  • 25. Time
  • 26. Wbr
  • 27. Semantic Markup <article> <footer> <rt> <aside> <header> <ruby> <audio> <hgroup> <section> <canvas> <keygen> <source> <command> <mark> <summary> <datalist> <meter> <time> <details> <nav> <video> <embed> <output> <wbr> <figcaption> <progress> <figure> <rp> Source: http://www.w3schools.com/html5/html5_reference.asp
  • 28. Semantic Markup <article> <footer> <rt> <aside> <header> <ruby> <audio> <hgroup> <section> <canvas> <keygen> <source> <command> <mark> <summary> <datalist> <meter> <time> <details> <nav> <video> <embed> <output> <wbr> <figcaption> <progress> <figure> <rp> Source: http://www.w3schools.com/html5/html5_reference.asp
  • 29. JavaScript APIs Canvas 2D Context Appllications Contacts Selection File APIs Server-Sent Events Forms Web Notifications Geolocation Web Sockets HTML Microdata Web Storage Indexed Database Web Workers Media Capture XMLHttpRequest Level 2 Messaging Offline Web Source: http://dret.typepad.com/dretblog/html5-api-overview.html
  • 44. Forms
  • 46. JavaScript APIs Canvas 2D Context Selection Contacts Server-Sent Events File APIs Web Notifications Forms Web Sockets Geolocation Web Storage HTML Microdata Web Workers Indexed Database XMLHttpRequest Level 2 Media Capture Messaging Offline Web Applications Source: http://dret.typepad.com/dretblog/html5-api-overview.html
  • 47. JavaScript APIs Contacts Geolocation Selection Canvas 2D Context Offline Apps HTML Microdata Indexed Database Media Capture Web Workers Messaging Web Storage Forms Web Sockets File API Web SQL DB Server Events XMLHttpRequest Level 2 Source: http://dret.typepad.com/dretblog/html5-api-overview.html
  • 48. 2022?
  • 50. HTML4/XHTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>About the Show – Polymorphic Podcast</title> <style type="text/css">h1{color:#ff9900;}</style> <script type="text/javascript" src="jquery-1.4.2.min.js"></script> </head> <body> <h1>Polymorphic Podcast</h1> <h2>About the Show</h2> <p><a href="http://weblogs.asp.net/craigshoemaker">Craig Shoemaker</a> is a software developer, podcaster, blogger and New- Media Evangelist for <a href="http://infragistics.com/">Infragistics</a>.</p> </body> </html>
  • 51. HTML5 <!doctype html> <html lang="en"> <head> <title>About the Show – Polymorphic Podcast</title> <style>h1{color:#ff9900;}</style> <script src="jquery-1.4.2.min.js"></script> </head> <body> <header> <hgroup> <h1>Polymorphic Podcast</h1> <h2>About the Show</h2> </hgroup> </header> <p><a href="http://weblogs.asp.net/craigshoemaker">Craig Shoemaker</a> is a software developer, podcaster, blogger and New- Media Evangelist for <a href="http://infragistics.com/">Infragistics</a>.</p> </body> </html>
  • 54. Audio wav mp3 ogg vorbis
  • 55. Video h.264 ogg theora webm
  • 57. Updated Selector Engine css selectors
  • 61. Forms API email time url search number color range date Source: http://www.w3schools.com/html5/html5_form_input_types.asp
  • 62. Forms API email time url search number color range date Source: http://www.w3schools.com/html5/html5_form_input_types.asp
  • 68. Web Storage local storage session storage web sql/indexed db
  • 69. Web Storage local storage session storage web sql/indexed db
  • 74. User- IP Address Coordinate Triangulation Defined GPS WiFi Cell Phone Available Everywhere Pros Processed Server Side Low Accuracy Cons High Processing Overhead Source: Pro HTML5 Programming, Apress
  • 75. User- IP Address Coordinate Triangulation Defined GPS WiFi Cell Phone Available High Everywhere Accuracy Pros Processed Server Side Low Long Accuracy Operation Cons High Not Optimal Processing for Indoors Overhead Hardware Req’d Source: Pro HTML5 Programming, Apress
  • 76. User- IP Address Coordinate Triangulation Defined GPS WiFi Cell Phone Available High Accurate Everywhere Accuracy Pros Works Indoors Processed Server Side Quick & Cheap Response Low Long Ineffective in Accuracy Operation Areas with Cons Limited Access High Not Optimal Points Processing for Indoors Overhead Hardware Req’d Source: Pro HTML5 Programming, Apress
  • 77. User- IP Address Coordinate Triangulation Defined GPS WiFi Cell Phone Available High Accurate Fairly Everywhere Accuracy Accurate Pros Works Indoors Processed Works Server Side Quick & Cheap Indoors Response Quick & Cheap Response Low Long Ineffective in Req. access Accuracy Operation Areas with to cell Cons Limited Access phone or High Not Optimal Points modem Processing for Indoors Overhead Ineffective Hardware in Areas Req’d with Few Cell Towers Source: Pro HTML5 Programming, Apress
  • 78. User- IP Address Coordinate Triangulation Defined GPS WiFi Cell Phone Available High Accurate Fairly High Accuracy Everywhere Accuracy Accurate Pros Works Indoors Flexibility to Processed Works Designate Alt. Server Side Quick & Cheap Indoors Locations Response Quick & May be Fastest Cheap Option Response Low Long Ineffective in Req. access Can be Very Accuracy Operation Areas with to cell Inaccurate Cons Limited Access phone or (esp. if High Not Optimal Points modem locations Processing for Indoors change) Overhead Ineffective Hardware in Areas Req’d with Few Cell Towers Source: Pro HTML5 Programming, Apress
  • 80. Fundamentals of HTML5 Craig Shoemaker craig@craigshoemaker.net @craigshoemaker