So I'm a bit confused about the usage of the html5 section tag (or rather when to use it). On the first page of my site I want to offer a description of what the site offers and on the right of that a register form. I decided that I might as well use the html spec so some things are still a bit unclear on what to use where.
For the above mentioned scenario would one use:
<div>
<div>description</div>
<div>registerform</div>
</div>
or
<section>
<div>description</div>
<div>registerform</div>
</section>
or
<div>
<section>description</section>
<section>registerform</section>
</div>
And is my understanding of the header tag correct in that you basically would put in there your banner, navigation and if present a login box? So something along the lines of:
<header>
<nav>
<img src="mylogo.png" alt="my logo"/>
<ul>
<li>link1</li>
<li>link2</li>
</ul>
<div id="loginbox"> <== or should this be section?
//labels and inputfields
</div>
</nav>
</header>
I'm mostly a backend programmer, but some of the new html5 stuff looks interesting so any help would be appreciated.