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 *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>