Semantics
Styling
body
div id=“header”
div
id=“sidebar”
div id=“content”
div class=“article”
div class=“article”
div id=“footer”
body
header
aside section
article
article
footer
HTML4 HTML5
Slide 9
Slide 9 text
Semantics
Styling
Simplified DOCTYPE
Slide 10
Slide 10 text
Semantics
Styling
Compare with HTML 4.01:
Simplified DOCTYPE
DEFINITION
The main idea is to give the “container”
the ability to change the width & height
of its children to best fill the blank space
and prevent overflow.