HTML5: Using the new <article> element

This entry is part 9 of 34 in the series HTML5

The article element is used to define an independent block of content.

Some examples of the block of content are forum post, magazine or newspaper article, a blog entry etc.

<!DOCTYPE html>
<html>
<head lang='en'>
    <meta charset='UTF-8'>
    <title>Codecrawl.com - HTML 5</title>
</head>
<body>

<article>
    <header>
        <h1><a href='#'>Rod Stewart</a></h1>

        <p>17.05.2014</p>
    </header>
    <p>Roderick David 'Rod' Stewart, CBE is a British rock singer-songwriter. Born and raised in London, he is of
        Scottish and English ancestry. Stewart is one of the best-selling music artists of all time, having sold over
        100 million records worldwide.</p>
</article>

</body>
</html>

Series Navigation<< HTML5: Multiple <header> on one page
HTML5: Grouping content with <section> element >>