SlideShare a Scribd company logo
HTML5
Name: Amir khanzada
ID : 6268
What is HTML5?
What is HTML5?
HTML5 is the new standard for HTML.
The previous version of HTML was – HTML 4.01, came in 1999.
HTML5 is designed to deliver almost everything you want to do online
without requiring additional plugins. It does everything from
animation to apps, music to movies, and can also be used to build
complicated applications that run in your browser.
HTML5 is also cross-platform (it does not care whether you are using
a tablet or a smartphone, a notebook, notebook or a Smart TV).
Differences Between HTML4 and
HTML5
Top 5 Benefits of Using HTML5
 Built-In Video/Audio Playback
 Offline Caching
 Cleaner Code
 Browser Cross-Compatibility
 Mobile Optimization
Built-In Video/Audio Playback
In previous HTML versions, webmasters were forced to use third-party
programs, such as Adobe Flash Player, QuickTime or Silverlight, in order
to play video and video. This was a messy, archaic method for web-
based media playback that often resulted in errors. HTML5 has solved
this problem with its full support for video and audio.
Here's an example of HTML5 video playback code:
<video poster="movie.jpg" controls>
<source src=”movie.ogg" type="video/ogg">
<source src="movie.mp4" type="video/mp4">
Your browser does not support the <code>video</code> element.
</video>
Notice how there are two files in the above code? This allows browsers
to choose the one that's compatible. If a visitor's web browser doesn't
support .ogg format, it will move on to the next file listed (.mp4).
HTML5 also offers offline caching, meaning visitors
can load certain elements on a webpage without an
active internet connection – assuming they've visited
the site in the past. If a visitor's internet connection
happens to go down, he or she can still load core
elements of the site.
With HTML5, webmasters can define which files
visitors' browsers save. Offline caching is something
that's entirely new with HTML5.
Offline Cache
Don't you hate looking at a long sheet of messy
HTML code? Trying to make even basic changes to a
website built with bad code can be a nightmare.
HTML5 is designed to offer cleaner code that's not
only easier for developers, but also optimized for
improved search engine readability. And when
search engine are able to 'understand' the content of
a website more easily, it usually translates into
higher search rankings.
Cleaner Code
A fourth benefit of HTML5 is the simple fact that its
cross-compatible with all of the major web browsers,
including Firefox, Internet Explorer, Chrome, Safari
and Opera. This doesn't necessarily mean that all of
these browsers will support every new element
introduced in HTML5, but they will be able to read
the doctype at the very least.
Browser Cross-Compatibility
If you still need another reason to use HTML5, here's
one: it's optimized for the creation of mobile
websites and applications. Responsive websites are
easily built using HTML5, offering full functionality
across all types of devices. Without the need for
horizontal scrolling, mobile internet users can
browse websites more efficiently.
Adobe has since discontinued support for their
mobile Flash Player, paving the way for HTML5 to
handle interactive tasks on mobile devices.
Mobile Optimization
Browser Support for HTML5
Browser Support for HTML5
HTML5 is not yet an official standard, and no
browsers have full HTML5 support.
But all major browsers (Safari, Chrome, Firefox,
Opera, Internet Explorer) continue to add new
HTML5 features to their latest versions.
HTML5 Document
The HTML5 <!DOCTYPE>
In HTML5 there is only one <!doctype>
declaration, and it is very simple:
<!DOCTYPE html>
Minimum HTML5 Document
Below is a simple HTML5 document, with the minimum of required
tags:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
</head>
<body>
Content of the document......
</body>
</html>
Removed Elements
The following HTML 4.01 elements are removed from HTML5:
• <acronym>
• <applet>
• <basefont>
• <big>
• <center>
• <dir>
• <font>
• <frame>
• <frameset>
• <noframes>
• <strike>
• <tt>
HTML5 Video
HTML5 Video
Many modern websites show videos. HTML5
provides a standard for showing them.
Video Formats and Browser
Support
Browser MP4 WebM Ogg
Internet Explorer YES NO NO
Chrome YES YES YES
Firefox
NO
Update: Firefox 21
running on
Windows 7,
Windows 8,
Windows Vista, and
Android now
supports MP4
YES YES
Safari YES NO NO
Opera NO YES YES
HTML5 Audio
HTML5 Audio
HTML5 provides a standard for playing audio
files.
Audio Formats and Browser
Support
Browser MP3 Wav Ogg
Internet Explorer YES NO NO
Chrome YES YES YES
Firefox
NO
Update: Firefox 21
running on
Windows 7,
Windows 8,
Windows Vista, and
Android now
supports MP3
YES YES
Safari YES YES NO
Opera NO YES YES
HTML5 Input Types
HTML5 Input Types
HTML5 has several new input types for forms. These new features allow better input
control and validation.
• color
• Date
• datetime
• datetime-local
• email
• month
• number
• range
• search
• tel
• time
• url
• week
HTML5 Semantic Elements
HTML5 Semantic Elements
• 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.
HTML5 Semantic Elements
• HTML5 offers new semantic elements to clearly
define different parts of a web page:
• <header>
• <nav>
• <section>
• <article>
• <aside>
• <figure>
• <footer>

More Related Content

PPTX
Html5 Basics
Pankaj Bajaj
 
PPTX
Html5 tutorial for beginners
Singsys Pte Ltd
 
PPTX
[Final] ReactJS presentation
洪 鹏发
 
PPTX
jQuery
Jay Poojara
 
PDF
Angular - Chapter 1 - Introduction
WebStackAcademy
 
PPTX
HTML5 & CSS3
Ian Lintner
 
PPT
JavaScript Tutorial
Bui Kiet
 
Html5 Basics
Pankaj Bajaj
 
Html5 tutorial for beginners
Singsys Pte Ltd
 
[Final] ReactJS presentation
洪 鹏发
 
jQuery
Jay Poojara
 
Angular - Chapter 1 - Introduction
WebStackAcademy
 
HTML5 & CSS3
Ian Lintner
 
JavaScript Tutorial
Bui Kiet
 

What's hot (20)

PPTX
jQuery PPT
Dominic Arrojado
 
PDF
Angular
Lilia Sfaxi
 
PDF
Angular - Chapter 3 - Components
WebStackAcademy
 
PDF
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
Edureka!
 
PPTX
Angular Data Binding
Jennifer Estrada
 
PPTX
Introduction to JavaScript
Marlon Jamera
 
PPTX
Angular tutorial
Rohit Gupta
 
PDF
Basic JavaScript Tutorial
DHTMLExtreme
 
PDF
Javascript basics
shreesenthil
 
PDF
ReactJS presentation
Thanh Tuong
 
PPTX
Introduction to React JS
Arnold Asllani
 
PPTX
Flask
Mamta Kumari
 
PPTX
Session tracking in servlets
vishal choudhary
 
PPTX
Angularjs PPT
Amit Baghel
 
PPT
XML Schema
yht4ever
 
PPTX
A Brief Introduction to React.js
Doug Neiner
 
PPTX
Dom(document object model)
Partnered Health
 
PPTX
Reactjs
Neha Sharma
 
PPT
Javascript
Manav Prasad
 
PDF
Intro to HTML and CSS basics
Eliran Eliassy
 
jQuery PPT
Dominic Arrojado
 
Angular
Lilia Sfaxi
 
Angular - Chapter 3 - Components
WebStackAcademy
 
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
Edureka!
 
Angular Data Binding
Jennifer Estrada
 
Introduction to JavaScript
Marlon Jamera
 
Angular tutorial
Rohit Gupta
 
Basic JavaScript Tutorial
DHTMLExtreme
 
Javascript basics
shreesenthil
 
ReactJS presentation
Thanh Tuong
 
Introduction to React JS
Arnold Asllani
 
Session tracking in servlets
vishal choudhary
 
Angularjs PPT
Amit Baghel
 
XML Schema
yht4ever
 
A Brief Introduction to React.js
Doug Neiner
 
Dom(document object model)
Partnered Health
 
Reactjs
Neha Sharma
 
Javascript
Manav Prasad
 
Intro to HTML and CSS basics
Eliran Eliassy
 
Ad

Similar to Html 5 Features And Benefits (20)

PPT
Html5
Harry Potter
 
PPT
Html5
Tony Nguyen
 
PPT
Html5
Luis Goldster
 
PPT
Html5
Fraboni Ec
 
PPT
Html5
Hoang Nguyen
 
PPT
Html5
James Wong
 
PPT
Html5
Young Alista
 
PDF
Everything That You Need To Know About HTML5
KaneJordy1
 
PPTX
Html 5
AJINKYA N
 
PDF
HTML5 Introduction – Features and Resources for HTML5
Team Mango Media Private Limited
 
PPTX
What are new added in HTML5?
Chetu
 
PPTX
HTML5 and DHTML
patelpriyank01
 
PPT
HTML5_3.ppt
NEILMANOJC1
 
PDF
UMK Lecture 5 - HTML5 latest v7
Hisham Mat Hussin
 
KEY
Everything you need to know about HTML5 in 15 min
Edgar Parada
 
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
PPTX
Html5
Nisa Soomro
 
PPSX
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
GeneXus
 
Html5
Fraboni Ec
 
Html5
James Wong
 
Everything That You Need To Know About HTML5
KaneJordy1
 
Html 5
AJINKYA N
 
HTML5 Introduction – Features and Resources for HTML5
Team Mango Media Private Limited
 
What are new added in HTML5?
Chetu
 
HTML5 and DHTML
patelpriyank01
 
HTML5_3.ppt
NEILMANOJC1
 
UMK Lecture 5 - HTML5 latest v7
Hisham Mat Hussin
 
Everything you need to know about HTML5 in 15 min
Edgar Parada
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
GeneXus
 
Ad

Recently uploaded (20)

PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Software Development Methodologies in 2025
KodekX
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 

Html 5 Features And Benefits

  • 3. What is HTML5? HTML5 is the new standard for HTML. The previous version of HTML was – HTML 4.01, came in 1999. HTML5 is designed to deliver almost everything you want to do online without requiring additional plugins. It does everything from animation to apps, music to movies, and can also be used to build complicated applications that run in your browser. HTML5 is also cross-platform (it does not care whether you are using a tablet or a smartphone, a notebook, notebook or a Smart TV).
  • 5. Top 5 Benefits of Using HTML5  Built-In Video/Audio Playback  Offline Caching  Cleaner Code  Browser Cross-Compatibility  Mobile Optimization
  • 6. Built-In Video/Audio Playback In previous HTML versions, webmasters were forced to use third-party programs, such as Adobe Flash Player, QuickTime or Silverlight, in order to play video and video. This was a messy, archaic method for web- based media playback that often resulted in errors. HTML5 has solved this problem with its full support for video and audio. Here's an example of HTML5 video playback code: <video poster="movie.jpg" controls> <source src=”movie.ogg" type="video/ogg"> <source src="movie.mp4" type="video/mp4"> Your browser does not support the <code>video</code> element. </video> Notice how there are two files in the above code? This allows browsers to choose the one that's compatible. If a visitor's web browser doesn't support .ogg format, it will move on to the next file listed (.mp4).
  • 7. HTML5 also offers offline caching, meaning visitors can load certain elements on a webpage without an active internet connection – assuming they've visited the site in the past. If a visitor's internet connection happens to go down, he or she can still load core elements of the site. With HTML5, webmasters can define which files visitors' browsers save. Offline caching is something that's entirely new with HTML5. Offline Cache
  • 8. Don't you hate looking at a long sheet of messy HTML code? Trying to make even basic changes to a website built with bad code can be a nightmare. HTML5 is designed to offer cleaner code that's not only easier for developers, but also optimized for improved search engine readability. And when search engine are able to 'understand' the content of a website more easily, it usually translates into higher search rankings. Cleaner Code
  • 9. A fourth benefit of HTML5 is the simple fact that its cross-compatible with all of the major web browsers, including Firefox, Internet Explorer, Chrome, Safari and Opera. This doesn't necessarily mean that all of these browsers will support every new element introduced in HTML5, but they will be able to read the doctype at the very least. Browser Cross-Compatibility
  • 10. If you still need another reason to use HTML5, here's one: it's optimized for the creation of mobile websites and applications. Responsive websites are easily built using HTML5, offering full functionality across all types of devices. Without the need for horizontal scrolling, mobile internet users can browse websites more efficiently. Adobe has since discontinued support for their mobile Flash Player, paving the way for HTML5 to handle interactive tasks on mobile devices. Mobile Optimization
  • 12. Browser Support for HTML5 HTML5 is not yet an official standard, and no browsers have full HTML5 support. But all major browsers (Safari, Chrome, Firefox, Opera, Internet Explorer) continue to add new HTML5 features to their latest versions.
  • 14. The HTML5 <!DOCTYPE> In HTML5 there is only one <!doctype> declaration, and it is very simple: <!DOCTYPE html>
  • 15. Minimum HTML5 Document Below is a simple HTML5 document, with the minimum of required tags: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title of the document</title> </head> <body> Content of the document...... </body> </html>
  • 16. Removed Elements The following HTML 4.01 elements are removed from HTML5: • <acronym> • <applet> • <basefont> • <big> • <center> • <dir> • <font> • <frame> • <frameset> • <noframes> • <strike> • <tt>
  • 18. HTML5 Video Many modern websites show videos. HTML5 provides a standard for showing them.
  • 19. Video Formats and Browser Support Browser MP4 WebM Ogg Internet Explorer YES NO NO Chrome YES YES YES Firefox NO Update: Firefox 21 running on Windows 7, Windows 8, Windows Vista, and Android now supports MP4 YES YES Safari YES NO NO Opera NO YES YES
  • 21. HTML5 Audio HTML5 provides a standard for playing audio files.
  • 22. Audio Formats and Browser Support Browser MP3 Wav Ogg Internet Explorer YES NO NO Chrome YES YES YES Firefox NO Update: Firefox 21 running on Windows 7, Windows 8, Windows Vista, and Android now supports MP3 YES YES Safari YES YES NO Opera NO YES YES
  • 24. HTML5 Input Types HTML5 has several new input types for forms. These new features allow better input control and validation. • color • Date • datetime • datetime-local • email • month • number • range • search • tel • time • url • week
  • 26. HTML5 Semantic Elements • 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.
  • 27. HTML5 Semantic Elements • HTML5 offers new semantic elements to clearly define different parts of a web page: • <header> • <nav> • <section> • <article> • <aside> • <figure> • <footer>