article

< html‎ | elements
Jump to: navigation, search

article

This article is Ready to Use.


W3C Recommendation

Summary

The article element (<article>) defines a self-contained composition within a page.


Overview Table

DOM Interface HTMLElement

"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.


Compatibility

Do you think this data can be improved? You can ask to add by opening an issue or make a pull request.

Desktop

FeaturesChromeFirefoxInternet ExplorerOperaSafari
Basic support
5
Yes
?
Unknown
9.0
Yes
11.10
Yes
4.1
Yes

Mobile

FeaturesAndroidFirefox MobileIE MobileOpera MobileSafari Mobile
Basic support
2.2
Yes
4.0
Yes
9.0
Yes
11.0
Yes
5.0
Yes

Examples

The following example shows the basic structure of an article using article, header, and footer elements.

HTML

<article>
 <header>
  <h1>Article Heading</h1>
 </header>
 <p>Article Text</p>
 <p>...</p>
 <footer>Article Footer</footer>
</article>



Related specifications

Specification Status Related Changes
HTML 5.1 W3C Working Draft
HTML 5 W3C Recommendation

See also

Other articles

nav - The HTML navigation element is often used as a child element of the article tag.

External resources

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]