How many <header> element I can keep in HTML 5 ?
| SitePoint Sponsor |


How many <header> element I can keep in HTML 5 ?


There are lots of good HTML5 sites online that explain this sort of thing (just so you know). E.g. check this out:
http://html5doctor.com/the-header-element/
You are allowed to divide your page up into as many sections as necessary, and each section (theoretically) can have a header, so far as I understand (which isn't saying much).
Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form
Try your hand at the new JavaScript Challenge!
If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.


when you say divide ..do you mean using <div> ? or using <section> ?
Ok. Did you mean like this ..and each section (theoretically) can have a header, so far as I understand (which isn't saying much).
<div>
<header>
<p>tick tick</p>
</header>
</div>
OR like this...
<section>
<header>
<p>tick tick</p>
</header>
</section>


Sorry, I'm talking about <sections>s here.
... and of course the heading is primarily for heading elements, I presume ...
The second one, although you wouldn't just have a header in there:
Code:<section> <header> <p>tick tick</p> </header> More content here ... </section>
Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form
Try your hand at the new JavaScript Challenge!
If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.
Bookmarks