section

<section> element – represents a part of a document which would typically have a titlee or heading.

Usage: typically used to separate parts of our web page into “chunks.” There can be multiple sections on a given page.

Permitted Content: must not appear as a descendent of the <address> element.

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

Example code:

<section>
<article>
<header>
<hgroup>
<h2>Video</h2>
<h3>Posted on <time datetime=”2010-08-14″ pubdate>August 14, 2010</time> by Mark DuBois</h3>
</hgroup>
</header>
<p>All…</p>
<p>Posted…</p>
</article>
<article>

</article>
</section>

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Ā flow elements.

References:

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.