I'm trying to update my website's code to HTML5's semantic and structural elements, but I'm not very sure with the section
s and article
element.
Here's the structure of my page:
<body>
<header id="heaven" style="background-image: url(" ./images/header/2.png ");"></header>
<nav id="outer-nav" style="position: absolute; top: 0px;"></nav>
<div id="main" style="position: relative; top: 332px; background-image: url(" ./images/background/1.png ");">
<div id="sidebar-container">
<aside class="sidebar-menu-left"></aside>
<aside class="sidebar-menu-right"></aside>
<div id="content">
<div class="textblock">
<form action="user_login.php" method="post"></form>
<div class="newornament"></div>
<form action="user_register.php" method="post"></form>
<div class="info"></div>
</div>
</div>
<footer id="disclaimer"></footer>
</div>
</div>
</body>
Should I turn the main div
and/or the content div
into a section, and should the <div class="textblock">
be the article, or should I put each of the <form>
in an article?
Any other hints about the structure are also welcome.
You can take a look at the whole page here.