SlideShare a Scribd company logo
HTML5




           Tushar A Deshmukh
Abstract
The web is constantly evolving. New and innovative websites are being
created every day, pushing the boundaries of HTML in every direction.
HTML 4 has been around for nearly a decade now, and publishers
seeking new techniques to provide enhanced functionality are being held
back by the constraints of the language and browsers.
To give authors more flexibility and interoperability, and enable more
interactive and exciting websites and applications, HTML 5 introduces
and enhances a wide range of features including form controls, APIs,
multimedia, structure, and semantics.


                                               Continued …
Abstract
Continued …

Work on HTML 5, which commenced in 2004, is currently being
carried out in a joint effort between the W3C HTML WG and the
WHATWG. Many key players are participating in the W3C effort
including representatives from the four major browser vendors: Apple,
Mozilla, Opera, and Microsoft; and a range of other organisations and
individuals with many diverse interests and expertise.
Note that the specification is still a work in progress and quite a long
way from completion. As such, it is possible that any feature discussed
in this article may change in the future. This article is intended to
provide a brief introduction to some of the major features as they are in
the current draft.
STRUCTURE
HTML 5 introduces a whole set of new elements that make it much
easier to structure pages. Most HTML 4 pages include a variety of
common structures, such as headers, footers and columns and today, it
is fairly common to mark them up using div elements, giving each a
descriptive id or class.
                                         Diagram illustrates a typical
                                         two-column layout marked
                                         up using divs with id and
                                         class attributes. It contains a
                                         header, footer, and
                                         horizontal navigation bar
                                         below the header. The main
                                         content contains an article
                                         and sidebar on the right.
STRUCTURE
The use of div elements is largely because current versions of HTML
4 lack the necessary semantics for describing these parts more
specifically. HTML 5 addresses this issue by introducing new
elements for representing each of these different sections.

                                         The div elements can be
                                         replaced with the new
                                         elements: header, nav,
                                         section, article, aside, and
                                         footer.
                                         The markup for that
                                         document could look like the
                                         following:
Topics:

  • Tags
  • GeoLocation
  • Graphics - Canvas & SVG
  • Video/Audio
  • Storage
Tags:

HTML5 contains a rich set of proposed tags.
The goal of these new tags is to bring richer semantic meaning to content.
Tags - <header>:

 "a group of introductory or navigational aids. A header element
 typically contains the section’s heading (an h1–h6 element or
 an hgroup element), but can also contain other content, such as
 a table of contents, a search form, or any relevant logos."




  <header>
           <h1>Main Header</h1>
           <p class="tagline">Tagline</p>
  </header>
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 - <article> vs. <section>:

"Authors are encouraged to use the article element instead of the
section element when it would make sense to syndicate the
contents of the element."

"Section is used when there is naturally a heading at the start of
the 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."
  <footer role="contentinfo">
             <p> Footer </p>
             <nav>
               <h5>Quick Links</h5>
               <ul role="navigation">
                  <li> <a href="#">link</a></li>
               </ul>
             </nav>
          </footer>
Tags - Getting Started:

  • Small - Minor integration
    o Only modify the doctype

  • Medium - Thinking ahead
    o Modify the doctype, and include divs and
      classes that mimic HTML5 tags
  • Large - Full integration
     o Actually start using HTML5 tags
HTML5 - Doctype:

 <!DOCTYPE html>




 When browsers see this doctype, content is automatically
 switched into standards mode (as opposed to quirks
 mode). With this doctype, you can continue to write your
 markup as either HTML4 or XHTML1.0 Strict.

 What is quirks mode?
GeoLocation:

 • navigator.geolocation.getCurrentPosition() -
   obtain the user's current location
 • navigator.geolocation.watchPosition() -
   watches for changes in a user's location
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
• Many issues surrounding codecs that I am
  intentionally not getting into.
   o http://diveintohtml5.org/video.html
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
Web Forms:


 • strongly-typed input fields
 • new attributes for defining constraints
 • new DOM interfaces

More Related Content

What's hot (20)

PPTX
Grade 10 COMPUTER
Joel Linquico
 
PDF
Vskills certified css designer Notes
Vskills
 
PPTX
Castro Chapter 3
Jeff Byrnes
 
PPT
Html
SBalan Balan
 
PPTX
HTML5- Create divisions in a web page
Grayzon Gonzales, LPT
 
PPT
Html introduction
Nuhu Abdul Razak
 
PPTX
Introduction to HTML
Meghan Frisco
 
PPTX
02 From HTML tags to XHTML
Rich Dron
 
PPT
Lecture1and2
andalibalzaghawi
 
PPTX
HTML5 - My First Webpage
Grayzon Gonzales, LPT
 
PPTX
Drupal 7 Search Engine Optimisation
Peter Macinkovic
 
PPT
Unit 2 dhtml
Sarthak Varshney
 
PPT
Introduction to HTML
yht4ever
 
PPT
Ppt ch01
1geassking
 
PPTX
Web Page Designing Using HTML
Ashmita Tuition Center
 
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Ahsan Rahim
 
PPTX
DHTML
Ravinder Kamboj
 
PPTX
Basics of HTML
Anshuman Tandon
 
PPTX
INFT132 093 04 HTML and XHTML
Michael Rees
 
Grade 10 COMPUTER
Joel Linquico
 
Vskills certified css designer Notes
Vskills
 
Castro Chapter 3
Jeff Byrnes
 
HTML5- Create divisions in a web page
Grayzon Gonzales, LPT
 
Html introduction
Nuhu Abdul Razak
 
Introduction to HTML
Meghan Frisco
 
02 From HTML tags to XHTML
Rich Dron
 
Lecture1and2
andalibalzaghawi
 
HTML5 - My First Webpage
Grayzon Gonzales, LPT
 
Drupal 7 Search Engine Optimisation
Peter Macinkovic
 
Unit 2 dhtml
Sarthak Varshney
 
Introduction to HTML
yht4ever
 
Ppt ch01
1geassking
 
Web Page Designing Using HTML
Ashmita Tuition Center
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Ahsan Rahim
 
Basics of HTML
Anshuman Tandon
 
INFT132 093 04 HTML and XHTML
Michael Rees
 

Similar to Html5 p resentation by techmodi (20)

KEY
2022 HTML5: The future is now
Gonzalo Cordero
 
PPTX
HTML5 introduction
Kaali Kiran Thammanna
 
PDF
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
PDF
Html5 quick learning guide
Prima Utama Apriansyah
 
PDF
Html5 quick-learning-quide
Jerry Wijaya
 
PDF
Html5 quick-learning-quide
Ashok Suragala
 
PDF
Html5 quick-learning-quide
PL dream
 
PDF
HTML5, just another presentation :)
François Massart
 
KEY
Html5, a gentle introduction
Diego Scataglini
 
KEY
Html 5, a gentle introduction
Diego Scataglini
 
PDF
Html5 training
James VanDyke
 
PDF
HTML5 - An introduction
Eleonora Ciceri
 
PPTX
Training HTML
Motasem alsmadi
 
PPTX
Html5
gjoabraham
 
PPTX
Html5
gjoabraham
 
PPT
Getting started with html5
Suresh Kumar
 
PDF
Html5 semantics
Prashanth Krish
 
PPT
HTML 5 Complete Reference
EPAM Systems
 
PPTX
Html,CSS & UI/UX design
Karthikeyan Dhanasekaran CUA
 
PDF
Html5 Exploring -- by Udayakumar Mathivanan
Udaya Kumar
 
2022 HTML5: The future is now
Gonzalo Cordero
 
HTML5 introduction
Kaali Kiran Thammanna
 
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
Html5 quick learning guide
Prima Utama Apriansyah
 
Html5 quick-learning-quide
Jerry Wijaya
 
Html5 quick-learning-quide
Ashok Suragala
 
Html5 quick-learning-quide
PL dream
 
HTML5, just another presentation :)
François Massart
 
Html5, a gentle introduction
Diego Scataglini
 
Html 5, a gentle introduction
Diego Scataglini
 
Html5 training
James VanDyke
 
HTML5 - An introduction
Eleonora Ciceri
 
Training HTML
Motasem alsmadi
 
Html5
gjoabraham
 
Html5
gjoabraham
 
Getting started with html5
Suresh Kumar
 
Html5 semantics
Prashanth Krish
 
HTML 5 Complete Reference
EPAM Systems
 
Html,CSS & UI/UX design
Karthikeyan Dhanasekaran CUA
 
Html5 Exploring -- by Udayakumar Mathivanan
Udaya Kumar
 
Ad

More from techmodi_India (15)

PDF
Home auction
techmodi_India
 
PDF
Hr and payroll
techmodi_India
 
PPTX
Online appointment booking_presentation _
techmodi_India
 
PPT
Crowdfunding(2)
techmodi_India
 
PDF
Mlm affiliate g roupon
techmodi_India
 
PPT
Ppt on business writing
techmodi_India
 
PPT
Document management
techmodi_India
 
PDF
3 tier structure asp dot net
techmodi_India
 
PDF
Communication skills
techmodi_India
 
PDF
Communication skills 737
techmodi_India
 
PDF
Auction presentation
techmodi_India
 
PDF
Groupon presentation v 2.10
techmodi_India
 
PDF
Hospital maangement system
techmodi_India
 
PDF
3 tier structure asp dot net
techmodi_India
 
PDF
Facebook ads
techmodi_India
 
Home auction
techmodi_India
 
Hr and payroll
techmodi_India
 
Online appointment booking_presentation _
techmodi_India
 
Crowdfunding(2)
techmodi_India
 
Mlm affiliate g roupon
techmodi_India
 
Ppt on business writing
techmodi_India
 
Document management
techmodi_India
 
3 tier structure asp dot net
techmodi_India
 
Communication skills
techmodi_India
 
Communication skills 737
techmodi_India
 
Auction presentation
techmodi_India
 
Groupon presentation v 2.10
techmodi_India
 
Hospital maangement system
techmodi_India
 
3 tier structure asp dot net
techmodi_India
 
Facebook ads
techmodi_India
 
Ad

Recently uploaded (20)

PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 

Html5 p resentation by techmodi

  • 1. HTML5  Tushar A Deshmukh
  • 2. Abstract The web is constantly evolving. New and innovative websites are being created every day, pushing the boundaries of HTML in every direction. HTML 4 has been around for nearly a decade now, and publishers seeking new techniques to provide enhanced functionality are being held back by the constraints of the language and browsers. To give authors more flexibility and interoperability, and enable more interactive and exciting websites and applications, HTML 5 introduces and enhances a wide range of features including form controls, APIs, multimedia, structure, and semantics. Continued …
  • 3. Abstract Continued … Work on HTML 5, which commenced in 2004, is currently being carried out in a joint effort between the W3C HTML WG and the WHATWG. Many key players are participating in the W3C effort including representatives from the four major browser vendors: Apple, Mozilla, Opera, and Microsoft; and a range of other organisations and individuals with many diverse interests and expertise. Note that the specification is still a work in progress and quite a long way from completion. As such, it is possible that any feature discussed in this article may change in the future. This article is intended to provide a brief introduction to some of the major features as they are in the current draft.
  • 4. STRUCTURE HTML 5 introduces a whole set of new elements that make it much easier to structure pages. Most HTML 4 pages include a variety of common structures, such as headers, footers and columns and today, it is fairly common to mark them up using div elements, giving each a descriptive id or class. Diagram illustrates a typical two-column layout marked up using divs with id and class attributes. It contains a header, footer, and horizontal navigation bar below the header. The main content contains an article and sidebar on the right.
  • 5. STRUCTURE The use of div elements is largely because current versions of HTML 4 lack the necessary semantics for describing these parts more specifically. HTML 5 addresses this issue by introducing new elements for representing each of these different sections. The div elements can be replaced with the new elements: header, nav, section, article, aside, and footer. The markup for that document could look like the following:
  • 6. Topics: • Tags • GeoLocation • Graphics - Canvas & SVG • Video/Audio • Storage
  • 7. Tags: HTML5 contains a rich set of proposed tags. The goal of these new tags is to bring richer semantic meaning to content.
  • 8. Tags - <header>: "a group of introductory or navigational aids. A header element typically contains the section’s heading (an h1–h6 element or an hgroup element), but can also contain other content, such as a table of contents, a search form, or any relevant logos." <header> <h1>Main Header</h1> <p class="tagline">Tagline</p> </header>
  • 9. 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>
  • 10. 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>
  • 11. 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>
  • 12. Tags - <article> vs. <section>: "Authors are encouraged to use the article element instead of the section element when it would make sense to syndicate the contents of the element." "Section is used when there is naturally a heading at the start of the section."
  • 13. 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." <footer role="contentinfo"> <p> Footer </p> <nav> <h5>Quick Links</h5> <ul role="navigation"> <li> <a href="#">link</a></li> </ul> </nav> </footer>
  • 14. Tags - Getting Started: • Small - Minor integration o Only modify the doctype • Medium - Thinking ahead o Modify the doctype, and include divs and classes that mimic HTML5 tags • Large - Full integration o Actually start using HTML5 tags
  • 15. HTML5 - Doctype: <!DOCTYPE html> When browsers see this doctype, content is automatically switched into standards mode (as opposed to quirks mode). With this doctype, you can continue to write your markup as either HTML4 or XHTML1.0 Strict. What is quirks mode?
  • 16. GeoLocation: • navigator.geolocation.getCurrentPosition() - obtain the user's current location • navigator.geolocation.watchPosition() - watches for changes in a user's location
  • 17. Graphics: Canvas & SVG: Canvas - is a new HTML element which can be used to draw graphics using scripting (usually JavaScript).
  • 18. 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)
  • 19. 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 • Many issues surrounding codecs that I am intentionally not getting into. o http://diveintohtml5.org/video.html
  • 20. 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
  • 21. Web Forms: • strongly-typed input fields • new attributes for defining constraints • new DOM interfaces