SlideShare a Scribd company logo
1 of 27
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

What's hot

What's hot (20)

Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
 
Css floats
Css floatsCss floats
Css floats
 
Html
HtmlHtml
Html
 
CSS
CSSCSS
CSS
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
Javascript Basic
Javascript BasicJavascript Basic
Javascript Basic
 
Html5 semantics
Html5 semanticsHtml5 semantics
Html5 semantics
 
HTML
HTMLHTML
HTML
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
HTML5 audio & video
HTML5 audio & videoHTML5 audio & video
HTML5 audio & video
 
Html basics
Html basicsHtml basics
Html basics
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
 
Css box-model
Css box-modelCss box-model
Css box-model
 
Css3
Css3Css3
Css3
 
Css Ppt
Css PptCss Ppt
Css Ppt
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 

Similar to Html 5 Features And Benefits

UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7
Hisham Mat Hussin
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
GeneXus
 

Similar to Html 5 Features And Benefits (20)

Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Everything That You Need To Know About HTML5
Everything That You Need To Know About HTML5Everything That You Need To Know About HTML5
Everything That You Need To Know About HTML5
 
HTML5
HTML5HTML5
HTML5
 
Html 5
Html 5Html 5
Html 5
 
HTML5 Introduction – Features and Resources for HTML5
HTML5 Introduction – Features and Resources for HTML5HTML5 Introduction – Features and Resources for HTML5
HTML5 Introduction – Features and Resources for HTML5
 
What are new added in HTML5?
What are new added in HTML5?What are new added in HTML5?
What are new added in HTML5?
 
HTML5 and DHTML
HTML5 and DHTMLHTML5 and DHTML
HTML5 and DHTML
 
HTML5_3.ppt
HTML5_3.pptHTML5_3.ppt
HTML5_3.ppt
 
UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7
 
Everything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 minEverything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 min
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Html5
Html5Html5
Html5
 
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

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>