How is the page structure of HTML5 different from previous HTML versions?

HTML5 made the page structure simpler and more meaningful. The two main differences are a shorter head and semantic layout tags.

PointOlder HTMLHTML5
DoctypeLong, with a DTD link<!DOCTYPE html>
CharsetLong http-equiv meta tag<meta charset="UTF-8">
LayoutMany <div id="header"> tagsheader, nav, main, section, footer
<!-- Older style -->
<div id="header">...</div>
<div id="nav">...</div>
<div id="footer">...</div>

<!-- HTML5 style -->
<header>...</header>
<nav>...</nav>
<footer>...</footer>

See HTML Semantic Elements.


Learn more about the similar topics:
Tutorials
HTML Introduction
HTML First Program using Notepad
HTML Page Structure
Exercises & Assignments
Steps to Create a Webpage in HTML using Notepad
Write an HTML program to display hello world.
Write an HTML program to create a page about yourself
Interview Questions & Answers
What is the full form of HTML?
What is DOCTYPE in HTML?
Will HTML5 work without DOCTYPE?
How is the page structure of HTML5 different from previous HTML versions?
What is HTML?
What is the HTML page structure? Explain with example