Elements – Article Tag

Article Tag

The <article> tag represents self-contained content in a document. The article should be independent from the rest of page; intended to be distributable and reusable. It can add semantic meaning to your markup, and is a good choice to contain entire blog posts, news articles, and similar content. The <article> tag was added in HTML5 and is supported by major browsers.


Here is an example of how to use article tag in webpage:

<article> <h1>Codevarsity</h1> <p> Learn to code with a community of programmers and contribute to open source projects. </p> </article>

More Information:


This article needs improvement. You can help improve this article. You can also write similar articles and help the community.