我刚刚开始了一个新的应用。下面是我的任务的基本模型。我刚开始将HTML5用于我的语义标记,所以我需要一些反馈/帮助。
我想了解如何/在哪里使用<nav>和<section>之类的东西
<div id="container">
<header>
<div id="appInformation">
<a href="#" alt="Home">
<img src="">
</a>
<span>Selected AppName</span>
</div>
<div>
<span id="time">TIME GOES HERE</span>
</div>
<div>
<a href="#" alt="Additional Information">
<img src=""><!-- This is will be the location of the the 'i'-->
</a>
</div>
<div class="">
<label>UserName</label>
</div>
</header>
<div id="main">
<!-- main content for the selected app here -->
</div>
<footer>
<div id="appVersion">
VERSION # HERE
</div>
<nav>
<ul>
<li>
<a href="#">FAQ</a>
</li>
</ul>
</nav>
<div id="">
<!-- Team logo here-->
</div>
</footer>

发布于 2011-08-27 03:31:36
Selected AppName TIME GOES UserName VERSION # HERE常见问题解答
发布于 2011-08-27 04:34:41
除了@Simon Arnold的很好的答案之外,我可能还会建议<nav>的用法是不正确的。页脚中的单个链接很难被解释为“主要导航块”。在http://dev.w3.org/html5/spec/sections.html#the-nav-element上查看绿色文本的第一个注释
https://stackoverflow.com/questions/7209567
复制相似问题