The <article> tag specifies a component of a page that consists of self-contained, independent and reusable content. The HTML <article> tag is used to represent an article. There are many examples of the possible use of articles like newspaper article, forum post, a blog entry, magazine, user comment, a Web log entry or any other reusable item of content. The <article> tag is introduced in HTML 5. Many people might be confused about the <article> and <section> tags. The article tag has more semantic meaning compared to the section tag. The section tag splits an article into logical groups of content with a heading and it is only related to block content.
<article>
Syntax<article accesskey="spaced list of accelerator key(s)" class="class name(s)" contenteditable="true | false | inherit" contextmenu="id of menu" data-X="user-defined data" dir="ltr | rtl" draggable="true | false | auto" hidden="hidden" id="unique alphanumeric identifier" itemid="microdata id in URL format" itemprop="microdata value" itemref="space-separated list of IDs that may contain microdata" itemscope="itemscope" itemtype="microdata type in URL format" lang="language code" spellcheck="true | false" style="style information" tabindex="number" title="advisory text"></article>
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: