As an <article> tag in HTML signifies an independent piece of content (very useful for syndication); <section> tag signifies something like a division between two content, a separation, it is useful when two pieces of content are entirely different from each other but an author/editor wants to put them together — at left or right side, or at top or bottom side.
Rule: content of section should begin with a heading (one of h1-h6), to be uniquely identified.
Example:
<footer>
<section>
<h4> Social </h4>
<ul>
<li> <a href="#"> Twitter </a></li>
<li> <a href="#"> Facebook </a></li>
</ul>
</section>
</footer>
We didn't use <nav> element here 'coz above is external linking, not the internal navigation.
Comments
Post a Comment