Select Chapter ❯
HTML Tutorial
- HTML Introduction
- HTML Editors
- HTML Main Tags
- HTML All Tags
- HTML Attributes
- HTML Formating
- HTML Comments
- HTML Links
- HTML Images
- HTML Tables
- HTML List
- HTML Iframes
- HTML Style
- HTML Javascript
- HTML Forms
- HTML Elements
HTML5 Tutorial
HTML Media
HTML5 Tags
Many new tags were introduced in HTML5 such as article, aside, details, dialog, header, footer, figure etc.
Main New HTML5 Tags Are article, aside, details, figcaption, figure, footer, header, main, mark, nav, section, summary, time
HTML5 <header>
It is used to define header(introductory content) of a document or header of a section.
<div> <header> <h>header of a document or section</h> </header> <p>This is the example of header</p> <div>
HTML5 <nav>
It is used to define navigation links for a document.
<nav> <a href="link1.html">Link1 <a href="link2.html">Link2 <a href="link3.html">Link3 <a href="link4.html">Link4 <a href="link5.html">Link5 </nav>
HTML5 <aside>
It is used to define sidebar of a document.
<aside> <p>This is the example of aside</p> </aside>
HTML5 <section>
It is used to define section in a document.
<section> <p>This is the example of section</p> </section>
HTML5 <article>
It is used to define independent content in a document.
<article> <p>This is the example of article</p> </article>
HTML5 <footer>
It is used to define footer(ending content) of a document or footer of a section.
<footer> <p>This is the example of footer</p> </footer>
❮ PreviousNext ❯