article

< html‎ | elements
Jump to: navigation, search

article

This article is Almost Ready.


W3C Working Draft

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 a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an 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.

HTML information

Closing Tag required
CSS Display block

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 W3C Working Draft
HTML Standard Standard

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic Support 21
14
9
12
5.1

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic Support 2.2
7
18
15
?
11.5
?
4


Compatibility notes

Browser Version Note
Internet Explorer 9 The article element is only supported for webpages displayed in IE9 Standards mode. Internet Explorer 9 does not natively support the time element, which is intended to provide the publication date of the article element.

See also

Related articles

Document Structure


  • html/elements/article











Other articles

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

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]