article
Summary
The article element (<article>) defines a self-contained composition within a page.
Overview Table
“Article” is an element, first introduced in HTML5, for the purpose of relieving “div” fatigue and overuse. An article element might represent content like a:
- forum post
- magazine or newspaper article
- blog entry
- user-submitted comment
- interactive widget or gadget
or any other independent item of content.
When article elements are nested, the inner article should be related to the contents of the outer article. For example, a blog entry on a site that accepts user-submitted comments might represent the comments as article elements nested within the article element for the blog entry.
Examples
The following example shows the basic structure of an article using article, header, and footer elements.
<article>
<header>
<h1>Article Heading</h1>
</header>
<p>Article Text</p>
<p>...</p>
<footer>Article Footer</footer>
</article>
Related specifications
See also
Other articles
nav - The HTML navigation element is often used as a child element of the article tag.
External resources
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]