Main title
Sub title
Used to denote the main banner area, or a heading group inside a content section.
Sub title
<header role="banner">Hero Content</header>
<article>
<header>
<h1>Main title</h1>
<p>Sub title</p>
</header>
</article>
For major page navigation, including pagination.
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
Only one per page, for the main content.
The apple is the pomaceous fruit of the apple tree.
These bright red apples are the most common found in many supermarkets.
...
...
These juicy, green apples make a great filling for apple pies.
...
...
<main>
<header>
<h1>Apples</h1>
<p>The apple is the pomaceous fruit of the apple tree.</p>
</header>
<article>
<h2>Red Delicious</h2>
<p>These bright red apples are the most common found in many
supermarkets.</p>
<p>... </p>
<p>... </p>
</article>
<article>
<h2>Granny Smith</h2>
<p>These juicy, green apples make a great filling for
apple pies.</p>
<p>... </p>
<p>... </p>
</article>
</main>
Contains complementary content to it's parent section. (often used as a sidebar)
The Disney movie The Little Mermaid was first released to theatres in 1989.
More info about the movie...
<article>
<p>
The Disney movie <em>The Little Mermaid</em> was
first released to theatres in 1989.
</p>
<aside>
<p>
The movie earned $87 million during its initial release.
</p>
</aside>
<p>
More info about the movie...
</p>
</article>
The article element should contain a piece of self-contained content that could be distributed outside the context of the page. This includes things like:
Dinos were great!
Way too scary for me.
I agree, dinos are my favorite.
<article class="film_review">
<header>
<h2>Jurassic Park</h2>
</header>
<section class="main_review">
<p>Dinos were great!</p>
</section>
<section class="user_reviews">
<article class="user_review">
<p>Way too scary for me.</p>
<footer>
<p>
Posted on
<time datetime="2015-05-16 19:00">May 16</time>
by Lisa.
</p>
</footer>
</article>
<article class="user_review">
<p>I agree, dinos are my favorite.</p>
<footer>
<p>
Posted on
<time datetime="2015-05-17 19:00">May 17</time>
by Tom.
</p>
</footer>
</article>
</section>
<footer>
<p>
Posted on
<time datetime="2015-05-15 19:00">May 15</time>
by Staff.
</p>
</footer>
</article>
For groups of content that have headings.
Some content
<section>
<h1>Test</h1>
<p>Some content</p>
</section>
A footer typically contains information about the author of the section, copyright data or links to related documents.
<footer>
Some copyright info or perhaps some author
info for an <article>?
</footer>