- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 13 Jul 2009 10:37:29 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv16068
Modified Files:
Overview.html
Log Message:
Poke around at the <nav> section to make it clearer. (whatwg r3393)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2523
retrieving revision 1.2524
diff -u -d -r1.2523 -r1.2524
--- Overview.html 13 Jul 2009 09:26:15 -0000 1.2523
+++ Overview.html 13 Jul 2009 10:37:26 -0000 1.2524
@@ -10567,10 +10567,11 @@
a page that links to other pages or to parts within the page: a
section with navigation links. Not all groups of links on a page
need to be in a <code><a href="#the-nav-element">nav</a></code> element — only sections that
- consist of primary navigation blocks are appropriate for the
+ consist of major navigation blocks are appropriate for the
<code><a href="#the-nav-element">nav</a></code> element. In particular, it is common for footers to
have a list of links to various key parts of a site, but the
- <code><a href="#the-footer-element">footer</a></code> element is more appropriate in such cases.<div class="example">
+ <code><a href="#the-footer-element">footer</a></code> element is more appropriate in such cases, and
+ no <code><a href="#the-nav-element">nav</a></code> element is necessary for those links.<div class="example">
<p>In the following example, the page has several places where
links are present, but only one of those places is considered a
@@ -10593,7 +10594,7 @@
</nav>
</header>
<article>
- <p>...<em>page content would be here</em>...</p>
+ <p><em>...page content would be here...</em></p>
</article>
<footer>
<p>Copyright © 2006 The Example Company</p>
@@ -10603,6 +10604,50 @@
</footer>
</body></pre>
+ </div><div class="example">
+
+ <p>In the following example, there are two <code><a href="#the-nav-element">nav</a></code>
+ elements, one for primary navigation around the site, and one for
+ secondary navigation around the page itself.</p>
+
+ <pre><body>
+ <h1>The Wiki Center Of Exampland</h1>
+ <nav>
+ <ul>
+ <li><a href="/">Home</a></li>
+ <li><a href="/events">Current Events</a></li>
+ <em>...more...</em>
+ </ul>
+ </nav>
+ <article>
+ <header>
+ <h1>Demos in Exampland</h1>
+ <nav>
+ <ul>
+ <li><a href="#public">Public demonstrations</a></li>
+ <li><a href="#destroy">Demolitions</a></li>
+ <em>...more...</em>
+ </ul>
+ </nav>
+ </header>
+ <section id="public">
+ <h1>Public demonstrations</h1>
+ <p><em>...more...</em></p>
+ </section>
+ <section id="destroy">
+ <h1>Demolitions</h1>
+ <p><em>...more...</em></p>
+ </section>
+ <em>...more...</em>
+ <footer>
+ <p><a href="?edit">Edit</a> | <a href="?delete">Delete</a> | <a href="?Rename">Rename</a></p>
+ </footer>
+ </article>
+ <footer>
+ <p><small>© copyright 1998 Exampland Emperor</small></p>
+ </footer>
+</body></pre>
+
</div><h4 id="the-article-element"><span class="secno">4.4.4 </span>The <dfn><code>article</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
<dd><a href="#flow-content-0">Flow content</a>.</dd>
<dd><a href="#sectioning-content-0">Sectioning content</a>.</dd>
Received on Monday, 13 July 2009 10:37:38 UTC