SlideShare a Scribd company logo
1 of 10
HTML5 Stack
Html5 isthe combinationof three webtechnologies:?
HTML ? to buildwebpage structure,
CSS ? to enhance lookandfeel( presentationlayer),and
Javascript? to add functionalitytoHTML elements.
For example,
1. Drawingand animationusing canvas
2. Offline storage
3. Microdata
4. Audioand video
5. Drag and drop
6. Geolocation
7. Embeddedfontsetc.
HTML5 includesnewsemantictagsandsome oldtags
Why HTML5
1. HTML5 has beendesignedtodeliveralmosteverythingyou'dwanttodo online withoutrequiring
additional software
such as browserplugins.
2. It doeseverythingfromanimationtoapps,musicto movies,andcanalsobe usedtobuild
complicatedwebapplications
that run inyour browser.
3. HTML5 isn't proprietary,soyou don'tneedtopay royaltiestouse it.
4. It's also cross-platform, whichmeansitdoesn'tcare whetheryou're usingatabletora smart
phone,anet-book,
notebook,ultra-bookora Smart TV if yourbrowsersupportsHTML5, itshouldworkflawlessly.
Year Achievement
1991 HTML Formed
1995 HTML 2
1995 CSS
1995 JAVASCRIPT
1997 HTML 4
1998 CSS 2
2000 XHTML 1
2001 XHTML 1.1
2009 HTML5
HTML5 Features
NewFeaturesinHTML5 includessemantictags,mediatags(Audio&Video),Canvas,SVG,
Geolocation,WebStorages,etc.
Here is a complete listof HTML5 Features.
HTML5 Template
-------------------------------------------------------
<!doctype html>
<html lang="en"> //langembeddedinhtml
<head>
<title>HTML5 Page</title>
<meta charset="utf-8"> //Shortcharsetmetatag
<linkhref="style.css"rel="stylesheet">//NoType attribute
<script src="file.js"></script> //NoType attribute required
</head>
<body>
<h1>My FirstHTML5 page.</h1>
</body>
</html>
1. Article
-------------
Article definesanSelf Containedcompositioninawebpage.
An Article couldbe aBlog post,forum,newspaperarticle,anindependentcontent,usercomment.
Eg:
<article>
<h2> HeadingforArticle </h2>
</article>
2. Section
-----------------
A Sectionrepresentsangenericsectionof adocument.
Sectioncouldbe varioussectionsof anarticle withheading.
Eg:
<section>
<h2>Heading forSection</h2>
</section>
3.Aside
------------------------------
Aside isthe sidebarof a container.
The contentinside aside isrelatedtocontentaround.
Aside couldbe siblingof div,sectionorarticle.
But the contentinside aside isrelevanttoadjacentsibling.
Eg:
<aside>
<p>Aside</p>
</aside>
4.Details
----------------------
Definesadditional detailsthatthe usercan view orhide.
Contentinside <details>ishidden.Only<summary>isvisible touser.
User can clickon summaryto viewdetails.
----Summary----------------
Summaryisthe visiblepartof details.Exceptsummary,everythingdetailsishidden
Eg:
<details>
<summary>ClickTo See</summary>
<p>Hello</p>
</details>
DetailsExample withopen
An additional openattribute canopendetailsonpage load.
<detailsopen>
<summary>ClickTo See</summary>
<p>Hello</p>
</details>
5.Time
----------------
Time tag isan inine level element,usedtorepresentsatime orexactdate inGregoriancalender.
Time Tag Example
<p> NewBatchTimingsare <time datetime="2017-12-08T10:00">10:00</time> AM.</p>
6. Command
-----------------------
CommandTag is an obsolete elementof html5.Itrepresentsacommand,whicha usercan invoke.
<command>
<commandtype="command">
<commandtype="radio">
<commandtype="checkbox">
7.Figure
------------------------
Figure tag Specifiesself-containedcontent,like images,illustrations,diagrams,code listings,etc.
Figure can have figcaptionchildtoexplainwhatfigure isshowing.
Figcaption
---------------------
Figcaptionisthe captionof figure element.
Eg:
<figure>
<img src="img/path"alt="...">
<figcaption>captionforimage</figcaption>
</figure>
8.Picture
HTML5 picture tag isusedto showeitherhighorlow resolutionimage forDesktopandMobile view.
We can settwo or more differentimagesfordifferentscreens,andbrowserwill loadasingle image,
whichmatch criteria.
Eg:
<picture>
<source srcset="img/logo-sm.png"media="(max-width:460px)">
<img src="img/logo.png"alt="TechAltumLogo">
</picture>
9.Header
Definesaheaderfora document,sectionoran article.Headercanbe usedmore than once on a
single webpage.
But try to use single headerinasection,oran article.
Eg:
<section>
<header>
<h2>Headerfor Section<h2>
</header>
<p>SectionContentGoesHere...</p>
</section>
10. Footer
Footertag definesfooterof andocument,sectionoran article.
A webpage canhave multiple footers,butinseparate sections.
Eg:
<footer>
<p>Contentforfooter<p>
</footer>
11.Mark
Mark isand inline levelelementusedasanhighlighterfortext.
Defaultbackground-colorof marktag is yellow,anddefaultfontcolorisblack.
Eg:
<p>This textis<mark>marked<>/mark</p>
11.Nav
NavTag isusedto group navigational links.Navcanbe usedtwice ormore in a single webpage.
Eg:
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
12.Wbr
wbr isa possible linebreak.Thiswillworksonlyif needed.
Eg:
document.getElementById("para").innerHTML="Thisisapara."
HTML5 RemovedTags
WithHTML5, some presentational tagsare removed.
These tagsstill getbrowsersupport,butW3C validatorshowserrors.
Here is a listof some removedelementsinhtml5.
<acronym>
<applet>
<basefont>
<big>
<center>
<dir>
<font>
<frame>
<frameset>
<marquee>
<noframes>
<strike>
<tt>
------------------------------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<style>
#svgelem{
position:relative;
left:50%;
-webkit-transform:translateX(-20%);
-ms-transform:translateX(-20%);
transform:translateX(-20%);
}
</style>
<title>SVG</title>
<metacharset = "utf-8" />
</head>
<body>
<h2 align= "center">HTML5 SVG Circle</h2>
<svg id= "svgelem"height="200" xmlns= "http://www.w3.org/2000/svg">
<circle id= "redcircle"cx = "50" cy = "50" r = "50" fill = "red"/>
</svg>
</body>
</html>

More Related Content

Similar to Html5 examples

Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorialmadhavforu
 
The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5Todd Anglin
 
1. Introduction to HTML5.ppt
1. Introduction to HTML5.ppt1. Introduction to HTML5.ppt
1. Introduction to HTML5.pptJyothiAmpally
 
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTESSony235240
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5Manav Prasad
 
Flex vs. HTML5 for RIAS
Flex vs. HTML5 for RIASFlex vs. HTML5 for RIAS
Flex vs. HTML5 for RIASPamela Fox
 
Introduction to html55
Introduction to html55Introduction to html55
Introduction to html55subrat55
 
Profiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / WebgrindProfiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / WebgrindSam Keen
 
1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentationJohnLagman3
 
The current status of html5 technology and standard
The current status of html5 technology and standardThe current status of html5 technology and standard
The current status of html5 technology and standardWonsuk Lee
 

Similar to Html5 examples (20)

Fundamentals of HTML5
Fundamentals of HTML5Fundamentals of HTML5
Fundamentals of HTML5
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5
 
Html5
Html5Html5
Html5
 
Html5(2)
Html5(2)Html5(2)
Html5(2)
 
Html5(2)
Html5(2)Html5(2)
Html5(2)
 
1. Introduction to HTML5.ppt
1. Introduction to HTML5.ppt1. Introduction to HTML5.ppt
1. Introduction to HTML5.ppt
 
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
 
HTML5
HTML5HTML5
HTML5
 
HTML5 and Joomla! 2.5 Template
HTML5 and Joomla! 2.5 TemplateHTML5 and Joomla! 2.5 Template
HTML5 and Joomla! 2.5 Template
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
 
Flex vs. HTML5 for RIAS
Flex vs. HTML5 for RIASFlex vs. HTML5 for RIAS
Flex vs. HTML5 for RIAS
 
Introduction to html55
Introduction to html55Introduction to html55
Introduction to html55
 
HTTPS and HTTP/2
HTTPS and HTTP/2HTTPS and HTTP/2
HTTPS and HTTP/2
 
HTML5 and DHTML
HTML5 and DHTMLHTML5 and DHTML
HTML5 and DHTML
 
Html5 guide
Html5 guideHtml5 guide
Html5 guide
 
Echo HTML5
Echo HTML5Echo HTML5
Echo HTML5
 
Profiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / WebgrindProfiling PHP with Xdebug / Webgrind
Profiling PHP with Xdebug / Webgrind
 
1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation1._Introduction_to_HTML5 powerpoint presentation
1._Introduction_to_HTML5 powerpoint presentation
 
The current status of html5 technology and standard
The current status of html5 technology and standardThe current status of html5 technology and standard
The current status of html5 technology and standard
 

More from SathyaseelanK1

More from SathyaseelanK1 (6)

CSS gradients
CSS gradientsCSS gradients
CSS gradients
 
SVG introduction
SVG   introductionSVG   introduction
SVG introduction
 
New tags in html5
New tags in html5New tags in html5
New tags in html5
 
Css Introduction
Css IntroductionCss Introduction
Css Introduction
 
Html 5 Tags - Beginners
Html 5  Tags - BeginnersHtml 5  Tags - Beginners
Html 5 Tags - Beginners
 
Bda life cycle slideshare
Bda life cycle   slideshareBda life cycle   slideshare
Bda life cycle slideshare
 

Recently uploaded

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
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 DiscoveryTrustArc
 
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, ...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
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 Processorsdebabhi2
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
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.pdfsudhanshuwaghmare1
 

Recently uploaded (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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
 
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, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Html5 examples

  • 1. HTML5 Stack Html5 isthe combinationof three webtechnologies:? HTML ? to buildwebpage structure, CSS ? to enhance lookandfeel( presentationlayer),and Javascript? to add functionalitytoHTML elements. For example, 1. Drawingand animationusing canvas 2. Offline storage 3. Microdata 4. Audioand video 5. Drag and drop 6. Geolocation 7. Embeddedfontsetc. HTML5 includesnewsemantictagsandsome oldtags Why HTML5 1. HTML5 has beendesignedtodeliveralmosteverythingyou'dwanttodo online withoutrequiring additional software such as browserplugins. 2. It doeseverythingfromanimationtoapps,musicto movies,andcanalsobe usedtobuild complicatedwebapplications that run inyour browser. 3. HTML5 isn't proprietary,soyou don'tneedtopay royaltiestouse it. 4. It's also cross-platform, whichmeansitdoesn'tcare whetheryou're usingatabletora smart phone,anet-book, notebook,ultra-bookora Smart TV if yourbrowsersupportsHTML5, itshouldworkflawlessly.
  • 2. Year Achievement 1991 HTML Formed 1995 HTML 2 1995 CSS 1995 JAVASCRIPT 1997 HTML 4 1998 CSS 2 2000 XHTML 1 2001 XHTML 1.1 2009 HTML5 HTML5 Features NewFeaturesinHTML5 includessemantictags,mediatags(Audio&Video),Canvas,SVG, Geolocation,WebStorages,etc. Here is a complete listof HTML5 Features. HTML5 Template ------------------------------------------------------- <!doctype html> <html lang="en"> //langembeddedinhtml <head> <title>HTML5 Page</title> <meta charset="utf-8"> //Shortcharsetmetatag <linkhref="style.css"rel="stylesheet">//NoType attribute <script src="file.js"></script> //NoType attribute required
  • 3. </head> <body> <h1>My FirstHTML5 page.</h1> </body> </html> 1. Article ------------- Article definesanSelf Containedcompositioninawebpage. An Article couldbe aBlog post,forum,newspaperarticle,anindependentcontent,usercomment. Eg: <article> <h2> HeadingforArticle </h2> </article> 2. Section ----------------- A Sectionrepresentsangenericsectionof adocument. Sectioncouldbe varioussectionsof anarticle withheading. Eg: <section>
  • 4. <h2>Heading forSection</h2> </section> 3.Aside ------------------------------ Aside isthe sidebarof a container. The contentinside aside isrelatedtocontentaround. Aside couldbe siblingof div,sectionorarticle. But the contentinside aside isrelevanttoadjacentsibling. Eg: <aside> <p>Aside</p> </aside> 4.Details ---------------------- Definesadditional detailsthatthe usercan view orhide. Contentinside <details>ishidden.Only<summary>isvisible touser. User can clickon summaryto viewdetails. ----Summary---------------- Summaryisthe visiblepartof details.Exceptsummary,everythingdetailsishidden Eg: <details> <summary>ClickTo See</summary>
  • 5. <p>Hello</p> </details> DetailsExample withopen An additional openattribute canopendetailsonpage load. <detailsopen> <summary>ClickTo See</summary> <p>Hello</p> </details> 5.Time ---------------- Time tag isan inine level element,usedtorepresentsatime orexactdate inGregoriancalender. Time Tag Example <p> NewBatchTimingsare <time datetime="2017-12-08T10:00">10:00</time> AM.</p> 6. Command ----------------------- CommandTag is an obsolete elementof html5.Itrepresentsacommand,whicha usercan invoke. <command> <commandtype="command"> <commandtype="radio"> <commandtype="checkbox">
  • 6. 7.Figure ------------------------ Figure tag Specifiesself-containedcontent,like images,illustrations,diagrams,code listings,etc. Figure can have figcaptionchildtoexplainwhatfigure isshowing. Figcaption --------------------- Figcaptionisthe captionof figure element. Eg: <figure> <img src="img/path"alt="..."> <figcaption>captionforimage</figcaption> </figure> 8.Picture HTML5 picture tag isusedto showeitherhighorlow resolutionimage forDesktopandMobile view. We can settwo or more differentimagesfordifferentscreens,andbrowserwill loadasingle image, whichmatch criteria. Eg: <picture> <source srcset="img/logo-sm.png"media="(max-width:460px)"> <img src="img/logo.png"alt="TechAltumLogo"> </picture> 9.Header
  • 7. Definesaheaderfora document,sectionoran article.Headercanbe usedmore than once on a single webpage. But try to use single headerinasection,oran article. Eg: <section> <header> <h2>Headerfor Section<h2> </header> <p>SectionContentGoesHere...</p> </section> 10. Footer Footertag definesfooterof andocument,sectionoran article. A webpage canhave multiple footers,butinseparate sections. Eg: <footer> <p>Contentforfooter<p> </footer> 11.Mark Mark isand inline levelelementusedasanhighlighterfortext. Defaultbackground-colorof marktag is yellow,anddefaultfontcolorisblack. Eg: <p>This textis<mark>marked<>/mark</p> 11.Nav
  • 8. NavTag isusedto group navigational links.Navcanbe usedtwice ormore in a single webpage. Eg: <nav> <ul> <li><a href="index.html">Home</a></li> <li><a href="about.html">About</a></li> </ul> </nav> 12.Wbr wbr isa possible linebreak.Thiswillworksonlyif needed. Eg: document.getElementById("para").innerHTML="Thisisapara." HTML5 RemovedTags WithHTML5, some presentational tagsare removed. These tagsstill getbrowsersupport,butW3C validatorshowserrors. Here is a listof some removedelementsinhtml5. <acronym> <applet> <basefont> <big> <center> <dir> <font> <frame> <frameset>
  • 10. <circle id= "redcircle"cx = "50" cy = "50" r = "50" fill = "red"/> </svg> </body> </html>