Skip to content

Commit

Permalink
[e] (0) Example for <section>.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2718 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 28, 2009
1 parent ecd248f commit 80017ac
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions index
Expand Up @@ -10607,6 +10607,30 @@ not-slash = %x0000-002E / %x0030-%10FFFF
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>&lt;article&gt;
&lt;header&gt;
&lt;h1&gt;Apples&lt;/h1&gt;
&lt;p&gt;Tasty, delicious fruit!&lt;/p&gt;
&lt;/header&gt;
&lt;p&gt;The apple is the pomaceous fruit of the apple tree.&lt;/p&gt;
&lt;section&gt;
&lt;h1&gt;Red Delicious&lt;/h1&gt;
&lt;p&gt;These bright red apples are the most common found in many
supermarkets.&lt;/p&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;h1&gt;Granny Smith&lt;/h1&gt;
&lt;p&gt;These juicy, green apples and make a great filling for
apple pies.&lt;/p&gt;
&lt;/section&gt;
&lt;/article&gt;</pre>

</div>

<h4 id=the-nav-element><span class=secno>4.4.3 </span>The <dfn><code>nav</code></dfn> element</h4>

Expand Down
24 changes: 24 additions & 0 deletions source
Expand Up @@ -11258,6 +11258,30 @@ not-slash = %x0000-002E / %x0030-%10FFFF
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>&lt;article>
&lt;header>
&lt;h1>Apples&lt;/h1>
&lt;p>Tasty, delicious fruit!&lt;/p>
&lt;/header>
&lt;p>The apple is the pomaceous fruit of the apple tree.&lt;/p>
&lt;section>
&lt;h1>Red Delicious&lt;/h1>
&lt;p>These bright red apples are the most common found in many
supermarkets.&lt;/p>
&lt;/section>
&lt;section>
&lt;h1>Granny Smith&lt;/h1>
&lt;p>These juicy, green apples and make a great filling for
apple pies.&lt;/p>
&lt;/section>
&lt;/article></pre>

</div>

<h4>The <dfn><code>nav</code></dfn> element</h4>

Expand Down

0 comments on commit 80017ac

Please sign in to comment.