HTML <article> tag

Updated: 05/08/2017 by Computer Hope

HTML article tagWhen writing in HTML, the <article> tag is a block element used to describe 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. Good examples are forum posts, blog posts and newspaper or magazine articles. The following sections contain information about this tag, including an example of it in use, as well as 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>

Example result

Computer Hope

Computer Hope is a website that offers free help and support.

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <article> tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
9.0+ 4.0+ 4.1+ 11.1+ 5.0+

Blog, Browser, Compatibility, Forum