<article>

Description

The <article> element marks a self-contained content. An article could be a blog entry.

Example


<!DOCTYPE HTML> 
<html> 
<body> 
    <article> 
        <header> 
            <hgroup> 
                <h1>H1</h1> 
                <h2>H2</h2> 
            </hgroup> 
        </header> 
        <p>text text text text text text text text text </p>
        <section> 
            <h1>H1</h1> 
            <p>text </p>
            <section> 
                <h1>H1</h1> 
                <p>text </p>
            </section> 
        </section> 
        <footer>
            <nav> 
                <p>text</p>
                <a href="">a link</a> 
            </nav> 
        </footer> 
    </article> 
</body> <!--from   www.  j a va2  s. co m-->
</html>

Click to view the demo

The code above generates the following result.

article




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference