HTML <article> Tag

Description

The HTML <article> tag is a fundamental element used in web development to define a self-contained piece of content within a web page. It is typically employed for articles, blog posts, news stories, comments, or any content that can stand alone and make sense on its own. By using the <article> tag, web developers provide structural meaning to their content, aiding in accessibility and search engine optimization. This tag encapsulates content that can be distributed and reused independently, making it a vital component of modern web design for organizing and semantically marking up web pages.

Properties

Permitted Parents
Any element that accepts flow content. Note that an <article> element must not be a descendant of an <address> element.
Content
Block, inline and text
Start/End Tags
Start tag: required, End tag: required

Example

<article>
<h3>CSSPortal New Design</h3>
<p>CSS Portal has had a complete new design added to the site, we are currently in the process of updating all content.</p>
</article>

Attributes

None

Global Attributes

The <article> tag also supports the Global Attributes in HTML5

Event Attributes

The <article> tag also supports the Event Attributes in HTML5

Browser Support

The following table will show you the current browser support for the HTML <article> tag.

Desktop
Edge Chrome Firefox Opera Safari
125411.15
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
18411.14.214.4

Last updated by CSSPortal on: 30th September 2023