Wanted some advise on how to mark-up in HTML-5 a 3 pane-page
that would be something like this:
________________________________________ | Nav Pane | Content Pane | Info Pane | ________________________________________
So I figure this would be my basic layout:
<aside id="nav">
<nav></nav>
</aside>
<section id="content"></section>
<aside id="info"></aside>
But if I want to then display them the section side by side I would need to create a wrapper to hold the 3 elements
, but I'm not sure what would be a valid HTML-5 element to use, the obvious is just to create a div
to hold them:
<div>
<aside id="nav">
<nav></nav>
</aside>
<section id="content"></section>
<aside id="info"></aside>
</div>
but that feels like a cheat.
Any suggestions?
You can use header wrapper for nav & section for rest of the two.
<header>
<nav class="nav">
</nav>
</header>
<section class="content"></section>
<section class="info"></section>
There is specific purpose of using aside . You can use aside wrapper for info if it is related to content or something other.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.