HTML <article> Tag
Description
The <article>
HTML element is used to represent an article. More specifically, the content within the <article>
tag is independent from the other content on the site (even though it could be related).
Examples of article content could include a forum post, a newspaper article, a blog entry, or a user-submitted comment.
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
Desktop | |||||
9 | 12 | 5 | 4 | 11.1 | 5 |
Tablets / Mobile | |||||
![]() |
|||||
Yes | Yes | 4 | 11.1 | 4.2 | Yes |
Last updated by CSSPortal on: 6th December 2019