SlideShare a Scribd company logo
A semantic element clearly describes its meaning to both the browser and the
developer.
Examples of non-semantic elements: <div> and <span> - Tells nothing about its
content.
Examples of semantic elements: <form>, <table>, and <img> - Clearly defines its
content.
Tags - <nav>:
"Not all groups of links on a page need to be in a nav element
only sections that consist of major navigation blocks are
appropriate for the nav element."
<nav role="navigation">
<ul>
<li>
<a href="#" title="link">link</a>
</li>
</ul>
</nav>
Tags - <article>:
"a composition that forms an independent part of a document,
page, application, or site. This could be a forum post, a
magazine or newspaper article, a Web log entry ..."
<article>
<h2>Item</h2>
<p>Some content here.</p>
</article>
Tags - <section>:
"section is a blob of content that you could store as an
individual record in a database."
<section id="foo">
<h2>Foo</h2>
<p>
Content here
</p>
</section>
Tags - <footer>:
"The footer element represents a footer for its
nearest ancestor sectioning content or
sectioning root element. A footer typically
contains information about its section such as
who wrote it, links to related documents,
copyright data, and the like."
Tags - <footer>:
<footer role="contentinfo">
<p>
Footer
</p>
<nav>
<h5>Quick Links</h5>
<ul role="navigation">
<li>
<a href="#">link</a>
</li>
</ul>
</nav>
</footer>
GeoLocation:
• navigator.geolocation.getCurrentPosition() -
obtain the user's current location
• navigator.geolocation.watchPosition() - watches for
changes in a user's location
GeoLocation -
Usability:
• FF 3.5
• Opera
• Chrome (via GoogleGears)
• Safari on the IPhone
• IE8
Graphics: Canvas
& SVG:
Canvas - is a new HTML element which can be used to
draw graphics using scripting (usually JavaScript).
Graphics: Canvas
& SVG:
"SVG - Scalable Vector Graphics (SVG) is a standard from
the W3C which is built on top of XML. The SVG standard
describes ways that graphics can be drawn for use on the
web." (http://www.svgbasics.com/index.html)
Audio / Video:
• Offers the ability to easily embed media into HTML
documents
• Media playback can be controlled via JS and media
events
• A flash fallback could be provided for browsers that
don't support HTML5 media
Audio / Video:
Usability:
• FF3.5, Chrome, Safari 3/4
Currently, there are 3 supported video formats for the <video> element: MP4, WebM, and Ogg:
•MP4 = MPEG 4 files with H264 video codec and AAC audio codec
•WebM = WebM files with VP8 video codec and Vorbis audio codec
•Ogg = Ogg files with Theora video codec and Vorbis audio codec
Audio / Video:
,
Storage:
• Session and Local Storage—provides a js
interface to key-value storage.
• Web Databases—RDBMS support for storing
structured data inside the browser.
• Application Cache—Local Cache
Storage:
Usability:
• IE8,FF3.5, Safari 4
Web Forms:
• strongly-typed input fields
• new attributes for defining constraints
• new DOM interfaces
1.<input type="search"> for search boxes
2.<input type="number"> for spinboxes
3.<input type="range"> for sliders
4.<input type="color"> for color pickers
5.<input type="tel"> for telephone numbers
6.<input type="url"> for web addresses
7.<input type="email"> for email addresses
8.<input type="date"> for calendar date pickers
9.<input type="month"> for months
10.<input type="week"> for weeks
11.<input type="time"> for timestamps
12.<input type="datetime"> for precise, absolute date+time stamps
13.<input type="datetime-local"> for local dates and times
function supports_canvas()
{ return
!!document.createElement('canvas').
getContext; }
↶
check for native date picker
if (!Modernizr.inputtypes.date) { // no
native support for <input type="date"> :( //
maybe build one yourself with Dojo or
jQueryUI }
MODERNIZR, AN HTML5
DETECTION LIBRARY
Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan
Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan
Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan
Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan
Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan
Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan

More Related Content

What's hot

Super quick introduction to html5
Super quick introduction to html5Super quick introduction to html5
Super quick introduction to html5
Woody Pewitt
 
Web Fundamentals
Web FundamentalsWeb Fundamentals
Web Fundamentals
arunv
 
Web browser
Web browserWeb browser
Web browser
Ashwini Kumar
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS Hosting
HTS Hosting
 
Static dynamic and active web pages
Static dynamic and active web pagesStatic dynamic and active web pages
Static dynamic and active web pages
Mohammad Kamrul Hasan
 
Languages of Internet
Languages of InternetLanguages of Internet
Languages of Internet
Codewizacademy
 
Web fundamentals - part 1
Web fundamentals - part 1Web fundamentals - part 1
Web fundamentals - part 1
Bozhidar Boshnakov
 
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Richard Esplin
 
World wide web architecture presentation
World wide web architecture presentationWorld wide web architecture presentation
World wide web architecture presentation
ImMe Khan
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Meritstore Slides
 
Dynamic Web
Dynamic WebDynamic Web
Dynamic Web
Dave Wallace
 
How develop a web application?
How develop a web application?How develop a web application?
How develop a web application?
Md Ekram
 
HTML 5
HTML 5HTML 5
HTML 5
Rajan Pal
 
Basic web architecture
Basic web architectureBasic web architecture
Basic web architecture
Ralu Mihordea
 
Bespoke Digital Media - Web
Bespoke Digital Media - Web Bespoke Digital Media - Web
Bespoke Digital Media - Web
bespokedigitalmedia
 
Share point saturday presentation 9 29-2012-2
Share point saturday presentation 9 29-2012-2Share point saturday presentation 9 29-2012-2
Share point saturday presentation 9 29-2012-2
Derek Gusoff
 
Website development using php
Website development using phpWebsite development using php
Website development using php
pravasmaja
 
SharePointArchitecture2
SharePointArchitecture2SharePointArchitecture2
SharePointArchitecture2
Bipin Pankhania
 
Web browsers and web document
Web browsers and web documentWeb browsers and web document
Web browsers and web document
Mohammad Kamrul Hasan
 
Using the Cascade Server Web Service API, by Artur Tomusiak
Using the Cascade Server Web Service API, by Artur TomusiakUsing the Cascade Server Web Service API, by Artur Tomusiak
Using the Cascade Server Web Service API, by Artur Tomusiak
hannonhill
 

What's hot (20)

Super quick introduction to html5
Super quick introduction to html5Super quick introduction to html5
Super quick introduction to html5
 
Web Fundamentals
Web FundamentalsWeb Fundamentals
Web Fundamentals
 
Web browser
Web browserWeb browser
Web browser
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS Hosting
 
Static dynamic and active web pages
Static dynamic and active web pagesStatic dynamic and active web pages
Static dynamic and active web pages
 
Languages of Internet
Languages of InternetLanguages of Internet
Languages of Internet
 
Web fundamentals - part 1
Web fundamentals - part 1Web fundamentals - part 1
Web fundamentals - part 1
 
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
 
World wide web architecture presentation
World wide web architecture presentationWorld wide web architecture presentation
World wide web architecture presentation
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Dynamic Web
Dynamic WebDynamic Web
Dynamic Web
 
How develop a web application?
How develop a web application?How develop a web application?
How develop a web application?
 
HTML 5
HTML 5HTML 5
HTML 5
 
Basic web architecture
Basic web architectureBasic web architecture
Basic web architecture
 
Bespoke Digital Media - Web
Bespoke Digital Media - Web Bespoke Digital Media - Web
Bespoke Digital Media - Web
 
Share point saturday presentation 9 29-2012-2
Share point saturday presentation 9 29-2012-2Share point saturday presentation 9 29-2012-2
Share point saturday presentation 9 29-2012-2
 
Website development using php
Website development using phpWebsite development using php
Website development using php
 
SharePointArchitecture2
SharePointArchitecture2SharePointArchitecture2
SharePointArchitecture2
 
Web browsers and web document
Web browsers and web documentWeb browsers and web document
Web browsers and web document
 
Using the Cascade Server Web Service API, by Artur Tomusiak
Using the Cascade Server Web Service API, by Artur TomusiakUsing the Cascade Server Web Service API, by Artur Tomusiak
Using the Cascade Server Web Service API, by Artur Tomusiak
 

Similar to Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan

Html5
Html5Html5
Html5
Html5Html5
HTML5 Programming
HTML5 ProgrammingHTML5 Programming
HTML5 Programming
hotrannam
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
Gonzalo Cordero
 
HTML5 Refresher
HTML5 RefresherHTML5 Refresher
HTML5 Refresher
Ivano Malavolta
 
HTML5 and CSS3 refresher
HTML5 and CSS3 refresherHTML5 and CSS3 refresher
HTML5 and CSS3 refresher
Ivano Malavolta
 
Html5 basics
Html5 basicsHtml5 basics
Html5 basics
sagaroceanic11
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
Ulises Torelli
 
Html5v1
Html5v1Html5v1
Html 5
Html 5Html 5
Html 5
Nguyen Quang
 
Html5
Html5Html5
Html5
gjoabraham
 
Html5
Html5Html5
Html5
gjoabraham
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
Lanh Le
 
SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 ...
SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 ...SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 ...
SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 ...
TelecomValley
 
Introduction web tech
Introduction web techIntroduction web tech
Introduction web tech
Liaquat Rahoo
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
Html5
Html5Html5
Html5
mikusuraj
 
HTML5
HTML5 HTML5
Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3
Gopi A
 
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
shesmer
 

Similar to Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan (20)

Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
HTML5 Programming
HTML5 ProgrammingHTML5 Programming
HTML5 Programming
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 
HTML5 Refresher
HTML5 RefresherHTML5 Refresher
HTML5 Refresher
 
HTML5 and CSS3 refresher
HTML5 and CSS3 refresherHTML5 and CSS3 refresher
HTML5 and CSS3 refresher
 
Html5 basics
Html5 basicsHtml5 basics
Html5 basics
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
 
Html5v1
Html5v1Html5v1
Html5v1
 
Html 5
Html 5Html 5
Html 5
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
 
SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 ...
SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 ...SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 ...
SophiaConf2010 Présentation des Retours d'expériences de la Conférence du 08 ...
 
Introduction web tech
Introduction web techIntroduction web tech
Introduction web tech
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3
 
Html5
Html5Html5
Html5
 
HTML5
HTML5 HTML5
HTML5
 
Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3
 
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
 

More from Udaya Kumar

Typescript in 30mins
Typescript in 30mins Typescript in 30mins
Typescript in 30mins
Udaya Kumar
 
Knockout JS Development - a Quick Understanding
Knockout JS Development - a Quick UnderstandingKnockout JS Development - a Quick Understanding
Knockout JS Development - a Quick Understanding
Udaya Kumar
 
AzureML TechTalk
AzureML TechTalkAzureML TechTalk
AzureML TechTalk
Udaya Kumar
 
Innovations and Innovators Prepared by Sharika Shivani U.J
Innovations and Innovators   Prepared by Sharika Shivani U.JInnovations and Innovators   Prepared by Sharika Shivani U.J
Innovations and Innovators Prepared by Sharika Shivani U.J
Udaya Kumar
 
KnockOutjs from Scratch
KnockOutjs from ScratchKnockOutjs from Scratch
KnockOutjs from Scratch
Udaya Kumar
 
BDOTNET AngularJs Directives - Uday
BDOTNET AngularJs Directives - UdayBDOTNET AngularJs Directives - Uday
BDOTNET AngularJs Directives - Uday
Udaya Kumar
 
Social Reformers Of India Prepared by Sharika Shivani U.J
Social Reformers Of India   Prepared by Sharika Shivani U.JSocial Reformers Of India   Prepared by Sharika Shivani U.J
Social Reformers Of India Prepared by Sharika Shivani U.J
Udaya Kumar
 
WPF For Beginners - Learn in 3 days
WPF For Beginners  - Learn in 3 daysWPF For Beginners  - Learn in 3 days
WPF For Beginners - Learn in 3 days
Udaya Kumar
 

More from Udaya Kumar (8)

Typescript in 30mins
Typescript in 30mins Typescript in 30mins
Typescript in 30mins
 
Knockout JS Development - a Quick Understanding
Knockout JS Development - a Quick UnderstandingKnockout JS Development - a Quick Understanding
Knockout JS Development - a Quick Understanding
 
AzureML TechTalk
AzureML TechTalkAzureML TechTalk
AzureML TechTalk
 
Innovations and Innovators Prepared by Sharika Shivani U.J
Innovations and Innovators   Prepared by Sharika Shivani U.JInnovations and Innovators   Prepared by Sharika Shivani U.J
Innovations and Innovators Prepared by Sharika Shivani U.J
 
KnockOutjs from Scratch
KnockOutjs from ScratchKnockOutjs from Scratch
KnockOutjs from Scratch
 
BDOTNET AngularJs Directives - Uday
BDOTNET AngularJs Directives - UdayBDOTNET AngularJs Directives - Uday
BDOTNET AngularJs Directives - Uday
 
Social Reformers Of India Prepared by Sharika Shivani U.J
Social Reformers Of India   Prepared by Sharika Shivani U.JSocial Reformers Of India   Prepared by Sharika Shivani U.J
Social Reformers Of India Prepared by Sharika Shivani U.J
 
WPF For Beginners - Learn in 3 days
WPF For Beginners  - Learn in 3 daysWPF For Beginners  - Learn in 3 days
WPF For Beginners - Learn in 3 days
 

Html5-Exploring-Training Deck - OSMOSIS 10Oct - By Udayakumar Mathivanan

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: <div> and <span> - Tells nothing about its content. Examples of semantic elements: <form>, <table>, and <img> - Clearly defines its content.
  • 15. Tags - <nav>: "Not all groups of links on a page need to be in a nav element only sections that consist of major navigation blocks are appropriate for the nav element." <nav role="navigation"> <ul> <li> <a href="#" title="link">link</a> </li> </ul> </nav>
  • 16. Tags - <article>: "a composition that forms an independent part of a document, page, application, or site. This could be a forum post, a magazine or newspaper article, a Web log entry ..." <article> <h2>Item</h2> <p>Some content here.</p> </article>
  • 17. Tags - <section>: "section is a blob of content that you could store as an individual record in a database." <section id="foo"> <h2>Foo</h2> <p> Content here </p> </section>
  • 18. Tags - <footer>: "The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."
  • 19. Tags - <footer>: <footer role="contentinfo"> <p> Footer </p> <nav> <h5>Quick Links</h5> <ul role="navigation"> <li> <a href="#">link</a> </li> </ul> </nav> </footer>
  • 20. GeoLocation: • navigator.geolocation.getCurrentPosition() - obtain the user's current location • navigator.geolocation.watchPosition() - watches for changes in a user's location
  • 21.
  • 22. GeoLocation - Usability: • FF 3.5 • Opera • Chrome (via GoogleGears) • Safari on the IPhone • IE8
  • 23. Graphics: Canvas & SVG: Canvas - is a new HTML element which can be used to draw graphics using scripting (usually JavaScript).
  • 24. Graphics: Canvas & SVG: "SVG - Scalable Vector Graphics (SVG) is a standard from the W3C which is built on top of XML. The SVG standard describes ways that graphics can be drawn for use on the web." (http://www.svgbasics.com/index.html)
  • 25. Audio / Video: • Offers the ability to easily embed media into HTML documents • Media playback can be controlled via JS and media events • A flash fallback could be provided for browsers that don't support HTML5 media
  • 26. Audio / Video: Usability: • FF3.5, Chrome, Safari 3/4
  • 27. Currently, there are 3 supported video formats for the <video> element: MP4, WebM, and Ogg: •MP4 = MPEG 4 files with H264 video codec and AAC audio codec •WebM = WebM files with VP8 video codec and Vorbis audio codec •Ogg = Ogg files with Theora video codec and Vorbis audio codec Audio / Video: ,
  • 28. Storage: • Session and Local Storage—provides a js interface to key-value storage. • Web Databases—RDBMS support for storing structured data inside the browser. • Application Cache—Local Cache
  • 30.
  • 31.
  • 32.
  • 33. Web Forms: • strongly-typed input fields • new attributes for defining constraints • new DOM interfaces
  • 34. 1.<input type="search"> for search boxes 2.<input type="number"> for spinboxes 3.<input type="range"> for sliders 4.<input type="color"> for color pickers 5.<input type="tel"> for telephone numbers 6.<input type="url"> for web addresses 7.<input type="email"> for email addresses 8.<input type="date"> for calendar date pickers 9.<input type="month"> for months 10.<input type="week"> for weeks 11.<input type="time"> for timestamps 12.<input type="datetime"> for precise, absolute date+time stamps 13.<input type="datetime-local"> for local dates and times
  • 35.
  • 37. ↶ check for native date picker if (!Modernizr.inputtypes.date) { // no native support for <input type="date"> :( // maybe build one yourself with Dojo or jQueryUI } MODERNIZR, AN HTML5 DETECTION LIBRARY