SlideShare ist ein Scribd-Unternehmen logo
1 von 80
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
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

Weitere ähnliche Inhalte

Ähnlich wie Fundamentals of HTML5 and JavaScript APIs

HTML5 for Rich User Experience
HTML5 for Rich User ExperienceHTML5 for Rich User Experience
HTML5 for Rich User ExperienceMahbubur Rahman
 
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考えるIt is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考えるSadaaki HIRAI
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Sadaaki HIRAI
 
HTML5 and Beyond
HTML5 and BeyondHTML5 and Beyond
HTML5 and Beyonddynamis
 
An Intro to Mobile HTML5
An Intro to Mobile HTML5An Intro to Mobile HTML5
An Intro to Mobile HTML5James Pearce
 
HTML5: An Overview
HTML5: An OverviewHTML5: An Overview
HTML5: An OverviewNagendra Um
 
Repaso rápido a los nuevos estándares web
Repaso rápido a los nuevos estándares webRepaso rápido a los nuevos estándares web
Repaso rápido a los nuevos estándares webPablo Garaizar
 
A Snapshot of the Mobile HTML5 Revolution
A Snapshot of the Mobile HTML5 RevolutionA Snapshot of the Mobile HTML5 Revolution
A Snapshot of the Mobile HTML5 RevolutionJames Pearce
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebGeorge Kanellopoulos
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)Shumpei Shiraishi
 
Building Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web AppsBuilding Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web AppsJames Pearce
 
HTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsHTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsIvano Malavolta
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introductiondynamis
 
[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 RefresherIvano Malavolta
 
Cross platform mobile web apps
Cross platform mobile web appsCross platform mobile web apps
Cross platform mobile web appsJames Pearce
 
HTML5 and web platform
HTML5 and web platformHTML5 and web platform
HTML5 and web platformdynamis
 

Ähnlich wie Fundamentals of HTML5 and JavaScript APIs (20)

HTML5 for Rich User Experience
HTML5 for Rich User ExperienceHTML5 for Rich User Experience
HTML5 for Rich User Experience
 
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考えるIt is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
 
Edge of the Web
Edge of the WebEdge of the Web
Edge of the Web
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
 
HTML5 and Beyond
HTML5 and BeyondHTML5 and Beyond
HTML5 and Beyond
 
An Intro to Mobile HTML5
An Intro to Mobile HTML5An Intro to Mobile HTML5
An Intro to Mobile HTML5
 
HTML5: An Overview
HTML5: An OverviewHTML5: An Overview
HTML5: An Overview
 
Repaso rápido a los nuevos estándares web
Repaso rápido a los nuevos estándares webRepaso rápido a los nuevos estándares web
Repaso rápido a los nuevos estándares web
 
A Snapshot of the Mobile HTML5 Revolution
A Snapshot of the Mobile HTML5 RevolutionA Snapshot of the Mobile HTML5 Revolution
A Snapshot of the Mobile HTML5 Revolution
 
URL Design
URL DesignURL Design
URL Design
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWeb
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
 
Building Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web AppsBuilding Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web Apps
 
HTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsHTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile apps
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introduction
 
[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher
 
Cross platform mobile web apps
Cross platform mobile web appsCross platform mobile web apps
Cross platform mobile web apps
 
HTML5 and web platform
HTML5 and web platformHTML5 and web platform
HTML5 and web platform
 

Mehr von DataLeader.io

An Introduction to Amazon Aurora Cloud-native Relational Database
An Introduction to Amazon Aurora Cloud-native Relational DatabaseAn Introduction to Amazon Aurora Cloud-native Relational Database
An Introduction to Amazon Aurora Cloud-native Relational DatabaseDataLeader.io
 
Amazon Aurora Cloud-native Relational Database, Section 2.0
Amazon Aurora Cloud-native Relational Database, Section 2.0Amazon Aurora Cloud-native Relational Database, Section 2.0
Amazon Aurora Cloud-native Relational Database, Section 2.0DataLeader.io
 
Amazon Aurora Relational Database Built for the AWS Cloud, Version 1 Series
Amazon Aurora Relational Database Built for the AWS Cloud, Version 1 SeriesAmazon Aurora Relational Database Built for the AWS Cloud, Version 1 Series
Amazon Aurora Relational Database Built for the AWS Cloud, Version 1 SeriesDataLeader.io
 
Kim Schmidt's Resume
Kim Schmidt's ResumeKim Schmidt's Resume
Kim Schmidt's ResumeDataLeader.io
 
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)DataLeader.io
 
The Zen of Silverlight
The Zen of SilverlightThe Zen of Silverlight
The Zen of SilverlightDataLeader.io
 
How to Build Composite Applications with PRISM
How to Build Composite Applications with PRISMHow to Build Composite Applications with PRISM
How to Build Composite Applications with PRISMDataLeader.io
 
Microsoft Kinect & the Microsoft MIX11 Game Preview
Microsoft Kinect & the Microsoft MIX11 Game PreviewMicrosoft Kinect & the Microsoft MIX11 Game Preview
Microsoft Kinect & the Microsoft MIX11 Game PreviewDataLeader.io
 
Managing High Availability with Low Cost
Managing High Availability with Low CostManaging High Availability with Low Cost
Managing High Availability with Low CostDataLeader.io
 
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...DataLeader.io
 
Building Applications with the Microsoft Kinect SDK
Building Applications with the Microsoft Kinect SDKBuilding Applications with the Microsoft Kinect SDK
Building Applications with the Microsoft Kinect SDKDataLeader.io
 

Mehr von DataLeader.io (11)

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

Kürzlich hochgeladen

SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 

Kürzlich hochgeladen (20)

SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Odoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting ServiceOdoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting Service
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 

Fundamentals of HTML5 and JavaScript APIs

  • 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
  • 63.
  • 64.
  • 65.
  • 66.
  • 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