- From: poot <cvsmail@w3.org>
- Date: Fri, 11 Feb 2011 18:16:43 -0500
- To: public-html-diffs@w3.org
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>
</body></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><nav>
+ <h1>Navigation</h1>
+ <p>You are on my home page. To the north lies <a href="/blog">my
+ blog</a>, from whence the sounds of battle can be heard. To the east
+ you can see a large mountain, upon which many <a
+ href="/school">school papers</a> are littered. Far up thus mountain
+ you can spy a little figure who appears to be me, desperately
+ scribbling a <a href="/school/thesis">thesis</a>.</p>
+ <p>To the west are several exits. One fun-looking exit is labeled <a
+ href="http://games.example.com/">"games"</a>. Another more
+ boring-looking exit is labeled <a
+ href="http://isp.example.net/">ISP™</a>.</p>
+ <p>To the south lies a dark and dank <a href="/about">contacts
+ page</a>. Cobwebs cover its disused entrance, and at one point you
+ see a rat run quickly out of the page.</p>
+</nav></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