HTML <article> tag
When writing in HTML (hypertext markup language), the <article> tag is a block element that describes a section of content that is both self-contained and independent. More specifically, anything inside the <article> tag could be distributed separately from the rest of the site. Examples include forum posts, blog posts and newspaper or magazine articles. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.
Example code
<article>
<h3>Computer Hope</h3>
<p>Computer Hope is a website that offers free help and support.
</article>
The above code, rendered in a web browser:
Computer Hope
Computer Hope is a website that offers free help and support.
Attributes
All HTML tags support standard attributes that define the settings of an HTML element. Unlike other HTML tags, the <article> tag has no unique attributes.
Compatibility
Edge | Firefox | Safari | Opera | Chrome |
---|---|---|---|---|
9.0+ | 4.0+ | 4.1+ | 11.1+ | 5.0+ |
Blog, Browser, Compatibility, Container tag, Forum, Web design terms