[html5] r2718 - [e] (0) Example for <section>.

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 27 23:07:52 PST 2009


Author: ianh
Date: 2009-01-27 23:07:51 -0800 (Tue, 27 Jan 2009)
New Revision: 2718

Modified:
   index
   source
Log:
[e] (0) Example for <section>.

Modified: index
===================================================================
--- index	2009-01-28 01:40:04 UTC (rev 2717)
+++ index	2009-01-28 07:07:51 UTC (rev 2718)
@@ -10607,7 +10607,31 @@
   sections of a thesis. A Web site's home page could be split into
   sections for an introduction, news items, contact information.</p>
 
+  <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>

Modified: source
===================================================================
--- source	2009-01-28 01:40:04 UTC (rev 2717)
+++ source	2009-01-28 07:07:51 UTC (rev 2718)
@@ -11258,7 +11258,31 @@
   sections of a thesis. A Web site's home page could be split into
   sections for an introduction, news items, contact information.</p>
 
+  <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>The <dfn><code>nav</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list