Table of contents
- 1. Summary
- 2. Usage context
- 3. Attributes
- 4. DOM Interface
- 5. Examples
- 5.1. Result
- 5.1.1. A really awesome article
- 5.2. Compatibility
- 5.1. Result
- 6. See also
Summary
The HTML Article Element (<article>) represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable, e.g., in syndication. This could be 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.
Usage notes:
- When an
<article>element is nested, the inner element represents an article related to the outer element. For example, the comments of a blog post can be<article>elements nested in the<article>representing the blog post. - Author information of an
<article>element can be provided through the<address>element, but it doesn't apply to nested<article>elements. - The publication date and time of an
<article>element can be described using thepubdateattribute of a<time>element.
Usage context
| Permitted content | Flow content |
| Tag omission | None, both the start tag and the end tag are mandatory |
| Permitted parent elements | Any element that accept flow content. Note that an |
| Normative document | HTML5, section 4.4.4 |
Attributes
This element has no other attributes than the global attributes, common to all elements.
DOM Interface
This element implements the HTMLElement interface.
Examples
<article> <h4>A really awesome article</h4> <p>Lots of awesome text.</p> </article>
Result
<article>
A really awesome article
Lots of awesome text.
</article>

