The HTML <article> element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable.

Syntax:

<article></article>

Attributes:

The <article> element may be similar to a <div> container, but it's not the same. A <div> container is still a block used to group elements into sections, while <article>, although mostly displayed as 'block' should be used as a container to body of text (thus the name article).

The best appliance of the <article> tag would be in blogs and other article based websites, forums or perhaps comments.

Example

The article tag basic example:

 

›› go to examples ››