VOOZH about

URL: https://www.geeksforgeeks.org/html/which-specific-tag-is-used-to-represent-the-article-in-html/

⇱ Which specific tag is used to represent the article in HTML ? - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Which specific tag is used to represent the article in HTML ?

Last Updated : 23 Jul, 2025

In this article, we will see how to represent the article in HTML.

The <article> tag is one of the new sectioning element in HTML5. The HTML <article> tag is used to represent an article. More specifically, the content within the <article> tag is independent of the other content of the site (even though it can be related).

In other words, the article element represents a component of a page that consists of self-contained composition in a document, page, or site. For example - in syndication.

A potential source for Article Element are:

  1. A magazine/newspaper article
  2. A blog entry
  3. A forum post
  4. A user-submitted a comment

This tag is most often used in two contexts:

  • On a page with a single piece of content, a single <article> element can be used to contain the main content and set it off from the rest of the page. 
  • On a page with multiple pieces of content (a blog index page, a search results page, a category page, news feed), multiple <article> elements can be used to contain each individual piece of content. 

Either way, it is similar to the <div> element and displays the stylish work the same. However, using the <article> element instead of <div> provides more semantic information to screen readers, search engines, and third-party applications.

Note: This tag does not render as anything special in a browser, you have to use CSS for that.

Default CSS setting: Most browsers will display the Article element with the following values.

Syntax:

<article> {
 display:block;
}

Example: This example using inline styling in an article element.

Output:

👁 Image
Comment
Article Tags: