- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 11 Feb 2011 23:15:33 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv15252 Modified Files: Overview.html Log Message: example for nav of using inline links rather than a list (whatwg r5877) Index: Overview.html =================================================================== 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:15:34 UTC