How is the page structure of HTML 5 different from Previous HTML Versions?

A typical web page structure is made-up of headers, footers, navigation, central area and side bars. Before HTML 5 we defines them using DIV Tags with different classes/ids. HTML5 offers new elements for better document structure.

New Semantic/Structural Elements:

<header>: Represents header data of HTML.
<footer>: Footer section of the page.
<nav>: Navigation elements in the page.
<article>: Self-contained content.
<section>: Used inside article to define sections or group content in to sections.
<aside>: Represent side bar contents of a page.


Learn more about the similar topics?
Tutorials
  • No Content Found.
  • Interview Questions & Answers
  • No Content Found.
  • Exercises & Assignments
  • No Content Found.