//
Semantic structure of HTML4 and HTML5

Thanks to the great online course for the 70-480 Microsoft certificate we can have a look of the semantic structure of HTML4

HTML4 - Semantic Structure

… and compare it with HTML5

HTML5 - Semantic Structure

What we used to define by attribute:

<div id="header">...</div>
<div id="nav">...</div>
<div class="article">
   <div class="section">...</div>
</div>
<div id="sidebar">...</div>
<div id="footer"> ...</div>

is now a tag:

<header>...</header>
<nav>...</nav>
<article>
    <section>...</section>
</article>
<aside>...</aside>
<footer>...</footer>

Much more elegant, isn’t it? 🙂

Diskussionen

Es gibt noch keine Kommentare.

Hinterlasse einen Kommentar

Aktuelle Beiträge

Neueste Kommentare

Archiv

Kategorien