Name

article — HTML5

Synopsis

<article> . . . </article>

Represents a self-contained piece of content, such as a magazine article, blog post, reader comment, or other content that is intended to be independently distributable, reusable, or used in syndication. article elements may be nested, such as for comments associated with a blog post.

Notes

HTML5 only. The publication date or time of an article may be provided with the new time element with the pubdate attribute. See the time listing for more information.

Start/End Tags

Required/Required

Attributes

HTML5 Global Attributes

Example

<article>
  <header>
    <h1>Further Research</h1>
    <p><time pubdate datetime="2010-01-14T03:13"></time>
   </p>
    <p>An introduction to the topic. . .</p>
  </header>
  <p>Content of the article starts. . .</p>
  <p>And another paragraph in the article.</p>
  <footer>Copyright &#169; 2010 Jane Author</footer>
</article>

Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.