hixie: Poke around at the <nav> section to make it clearer. (whatwg r3393)

hixie: Poke around at the <nav> section to make it clearer. (whatwg
r3393)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2523&r2=1.2524&f=h
http://html5.org/tools/web-apps-tracker?from=3392&to=3393

===================================================================
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 &mdash; 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 @@
   &lt;/nav&gt;
  &lt;/header&gt;
  &lt;article&gt;
-  &lt;p&gt;...<em>page content would be here</em>...&lt;/p&gt;
+  &lt;p&gt;<em>...page content would be here...</em>&lt;/p&gt;
  &lt;/article&gt;
  &lt;footer&gt;
   &lt;p&gt;Copyright &copy; 2006 The Example Company&lt;/p&gt;
@@ -10603,6 +10604,50 @@
  &lt;/footer&gt;
 &lt;/body&gt;</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>&lt;body&gt;
+ &lt;h1&gt;The Wiki Center Of Exampland&lt;/h1&gt;
+ &lt;nav&gt;
+  &lt;ul&gt;
+   &lt;li&gt;&lt;a href="/"&gt;Home&lt;/a&gt;&lt;/li&gt;
+   &lt;li&gt;&lt;a href="/events"&gt;Current Events&lt;/a&gt;&lt;/li&gt;
+   <em>...more...</em>
+  &lt;/ul&gt;
+ &lt;/nav&gt;
+ &lt;article&gt;
+  &lt;header&gt;
+   &lt;h1&gt;Demos in Exampland&lt;/h1&gt;
+   &lt;nav&gt;
+    &lt;ul&gt;
+     &lt;li&gt;&lt;a href="#public"&gt;Public demonstrations&lt;/a&gt;&lt;/li&gt;
+     &lt;li&gt;&lt;a href="#destroy"&gt;Demolitions&lt;/a&gt;&lt;/li&gt;
+     <em>...more...</em>
+    &lt;/ul&gt;
+   &lt;/nav&gt;
+  &lt;/header&gt;
+  &lt;section id="public"&gt;
+   &lt;h1&gt;Public demonstrations&lt;/h1&gt;
+   &lt;p&gt;<em>...more...</em>&lt;/p&gt;
+  &lt;/section&gt;
+  &lt;section id="destroy"&gt;
+   &lt;h1&gt;Demolitions&lt;/h1&gt;
+   &lt;p&gt;<em>...more...</em>&lt;/p&gt;
+  &lt;/section&gt;
+  <em>...more...</em>
+  &lt;footer&gt;
+   &lt;p&gt;&lt;a href="?edit"&gt;Edit&lt;/a&gt; | &lt;a href="?delete"&gt;Delete&lt;/a&gt; | &lt;a href="?Rename"&gt;Rename&lt;/a&gt;&lt;/p&gt;
+  &lt;/footer&gt;
+ &lt;/article&gt;
+ &lt;footer&gt;
+  &lt;p&gt;&lt;small&gt;&copy; copyright 1998 Exampland Emperor&lt;/small&gt;&lt;/p&gt;
+ &lt;/footer&gt;
+&lt;/body&gt;</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:38:25 UTC