hixie: example for nav of using inline links rather than a list (whatwg r5877)

hixie: example for nav of using inline links rather than a list (whatwg
r5877)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4718&r2=1.4719&f=h
http://html5.org/tools/web-apps-tracker?from=5876&to=5877

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4718
retrieving revision 1.4719
diff -u -d -r1.4718 -r1.4719
--- Overview.html 11 Feb 2011 22:57:47 -0000 1.4718
+++ Overview.html 11 Feb 2011 23:15:28 -0000 1.4719
@@ -14182,6 +14182,29 @@
  </footer>
 &lt;/body&gt;</pre>
 
+  </div><div class="example">
+
+   <p>A <code><a href="#the-nav-element">nav</a></code> element doesn't have to contain a list, it
+   can contain other kinds of content as well. In this navigation
+   block, links are provided in prose:</p>
+
+   <pre>&lt;nav&gt;
+ &lt;h1&gt;Navigation&lt;/h1&gt;
+ &lt;p&gt;You are on my home page. To the north lies &lt;a href="/blog"&gt;my
+ blog&lt;/a&gt;, from whence the sounds of battle can be heard. To the east
+ you can see a large mountain, upon which many &lt;a
+ href="/school"&gt;school papers&lt;/a&gt; are littered. Far up thus mountain
+ you can spy a little figure who appears to be me, desperately
+ scribbling a &lt;a href="/school/thesis"&gt;thesis&lt;/a&gt;.&lt;/p&gt;
+ &lt;p&gt;To the west are several exits. One fun-looking exit is labeled &lt;a
+ href="http://games.example.com/"&gt;"games"&lt;/a&gt;. Another more
+ boring-looking exit is labeled &lt;a
+ href="http://isp.example.net/"&gt;ISP&trade;&lt;/a&gt;.&lt;/p&gt;
+ &lt;p&gt;To the south lies a dark and dank &lt;a href="/about"&gt;contacts
+ page&lt;/a&gt;. Cobwebs cover its disused entrance, and at one point you
+ see a rat run quickly out of the page.&lt;/p&gt;
+&lt;/nav&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">Flow content</a>.</dd>
    <dd><a href="#sectioning-content">Sectioning content</a>.</dd>

Received on Friday, 11 February 2011 23:16:44 UTC