article

<article> element – represents content that forms a section of content which is independent. Think in terms of a magazine article.

Usage: often used in weblogs and syndicated web pages where contents may be re-purposed or used elsewhere (on the site or other sites) .

Permitted Content: style elements and flow content. The <article> element must not be a descendant of the <address> element.

Tag omission: both start and end tag must be present.

Example code:

<article>
<header>
<hgroup>
<h2>Yes, this is WordPress</h2>
<h3>Posted on <time datetime=”2010-07-14″ pubdate>July 14, 2010</time> by Mark DuBois</h3>
</hgroup>
</header>
<p>So, why choose WordPress, simple, it is a nice blogging platform. With the default theme for version 3.0 (twentyten), the code is also HTML 5 (just view the source code for this page). Additional comments coming soon.</p>
<p>Posted in HTML5 | Leave a comment </p>
</article>

Example page (opens in a new tab/ window – view source code):

Default display properties: display: block.

Common Attributes: typical global attributes only.

Permitted Parent Elements: any element which can contain phrasing or flow elements.

References:

Leave a Reply

Your email address will not be published. Required fields are marked *