HTML <article> Tag
Example
Two articles with independent, self-contained content:
<article>
<h2>Google Chrome</h2>
<p>Google Chrome is a web browser
developed by Google, released in 2008. Chrome is the world's most popular web
browser today!</p>
</article>
<article>
<h2>Microsoft Edge</h2>
<p>Microsoft Edge is a web browser developed by Microsoft, released in 2015.
Microsoft Edge replaced Internet Explorer.</p>
</article>
Try it Yourself »
Definition and Usage
The <article>
tag specifies independent, self-contained content.
An article should make sense on its own and it should be possible to distribute it independently from the rest of the site.
Potential sources for the <article>
element:
- Forum post
- Blog post
- News story
- Comment
Browser Support
The numbers in the table specify the first browser version that fully supports the element.
Element | |||||
---|---|---|---|---|---|
<article> | 6.0 | 9.0 | 4.0 | 5.0 | 11.1 |
Global Attributes
The <article>
tag also supports the Global Attributes in HTML.
Event Attributes
The <article>
tag also supports the Event Attributes in HTML.
Related Pages
HTML DOM reference: Article Object
Default CSS Settings
Most browsers will display the <article>
element with the following default
values:
article {
display: block;
}