In this section, we will learn what HTML <article> element is and how it works.
What is <article> Tag in HTML?
The HTML <article> element is considered as a container.
As the name of the element suggests, the <article> element is used when we have an article and want to put it on a webpage.
An article in this context is an entity that could be used in any place and context without losing its meaning.
We could use elements like <div> for this matter as well. But using <article> element is more structural and SEO friendly and so search engines can better understand the overall structure of your webpage.
HTML <article> Tag Syntax:
<article> Content </article>
HTML <article> Tag Values
The value of the HTML <article> element is any content that could be represented in other places as an independent entity.
Example: using <article> tag in HTML
See the Pen using <article> tag in HTML by Omid Dehghan (@odchan1) on CodePen.