I have read that the tag is the header of a section. It could be used more then 1 time in the document.
Should I use the <header>
tag in the section:
<section>
<header>
</header>
</section>
or above the <section>
like:
<header>
</header>
<section>
</section>
Is it possible to have this sctucture for heading information and the sections:
<section id="main">
<header id="results">
<h1>My Results</h1>
</header>
<section id="results">
<section id="result1">
<h2>Title</h2>
<div class="body"></div>
</section>
<section id="result2">
<h2>Title</h2>
<div class="body"></div>
</section>
.
.
.
</section>
</section>
do you thing this example is a good one for semantic usage oh the HTML5 tags header and section?
Or should I use instead of the <section id="main">
, the <main>
tag?