[html5] r5877 - [e] (0) example for nav of using inline links rather than a list Fixing http://w [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 11 15:15:23 PST 2011


Author: ianh
Date: 2011-02-11 15:15:22 -0800 (Fri, 11 Feb 2011)
New Revision: 5877

Modified:
   complete.html
   index
   source
Log:
[e] (0) example for nav of using inline links rather than a list
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11487

Modified: complete.html
===================================================================
--- complete.html	2011-02-11 22:57:41 UTC (rev 5876)
+++ complete.html	2011-02-11 23:15:22 UTC (rev 5877)
@@ -16329,7 +16329,32 @@
 
   </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>

Modified: index
===================================================================
--- index	2011-02-11 22:57:41 UTC (rev 5876)
+++ index	2011-02-11 23:15:22 UTC (rev 5877)
@@ -16309,7 +16309,32 @@
 
   </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>

Modified: source
===================================================================
--- source	2011-02-11 22:57:41 UTC (rev 5876)
+++ source	2011-02-11 23:15:22 UTC (rev 5877)
@@ -17365,7 +17365,32 @@
 
   </div>
 
+  <div class="example">
 
+   <p>A <code>nav</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>The <dfn><code>article</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list