- From: poot <cvsmail@w3.org>
- Date: Wed, 28 Jan 2009 16:11:05 +0900 (JST)
- To: public-html-diffs@w3.org
Example for <section>. (whatwg r2718)
4.4.3 The nav element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1888.html#the-nav-element
4.4.2 The section element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1888.html#the-section-element
http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1887&r2=1.1888&f=h
http://html5.org/tools/web-apps-tracker?from=2717&to=2718
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1887
retrieving revision 1.1888
diff -u -d -r1.1887 -r1.1888
--- Overview.html 28 Jan 2009 01:40:09 -0000 1.1887
+++ Overview.html 28 Jan 2009 07:07:56 -0000 1.1888
@@ -8698,7 +8698,30 @@
footer.<p class=example>Examples of sections would be chapters, the
various tabbed pages in a tabbed dialog box, or the numbered
sections of a thesis. A Web site's home page could be split into
- sections for an introduction, news items, contact information.<h4 id=the-nav-element><span class=secno>4.4.3 </span>The <dfn><code>nav</code></dfn> element</h4><dl class=element><dt>Categories</dt>
+ sections for an introduction, news items, contact information.<div class=example>
+
+ <p>In the following example, we see an article (part of a larger
+ Web page) about apples, containing two short sections.</p>
+
+ <pre><article>
+ <header>
+ <h1>Apples</h1>
+ <p>Tasty, delicious fruit!</p>
+ </header>
+ <p>The apple is the pomaceous fruit of the apple tree.</p>
+ <section>
+ <h1>Red Delicious</h1>
+ <p>These bright red apples are the most common found in many
+ supermarkets.</p>
+ </section>
+ <section>
+ <h1>Granny Smith</h1>
+ <p>These juicy, green apples and make a great filling for
+ apple pies.</p>
+ </section>
+</article></pre>
+
+ </div><h4 id=the-nav-element><span class=secno>4.4.3 </span>The <dfn><code>nav</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>
<dt>Contexts in which this element may be used:</dt>
Received on Wednesday, 28 January 2009 07:11:43 UTC