- From: poot <cvsmail@w3.org>
- Date: Mon, 12 Apr 2010 16:27:37 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Add a quite contrived example for <hr>. (whatwg r4995) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4012&r2=1.4013&f=h http://html5.org/tools/web-apps-tracker?from=4994&to=4995 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4012 retrieving revision 1.4013 diff -u -d -r1.4012 -r1.4013 --- Overview.html 12 Apr 2010 06:47:32 -0000 1.4012 +++ Overview.html 12 Apr 2010 07:27:15 -0000 1.4013 @@ -13976,6 +13976,51 @@ a story, or a transition to another topic within a section of a reference book.<div class="example"> + <p>The following fictional extract from a project manual shows two + sections that use the <code><a href="#the-hr-element">hr</a></code> element to separate topics + within the section.</p> + + <pre><section> + <h1>Communication</h1> + <p>There are various methods of communication. This section + covers a few of the important ones used by the project.</p> + <strong><hr></strong> + <p>Communication stones seem to come in pairs and have mysterious + properties:</p> + <ul> + <li>They can transfer thoughts in two directions once activated + if used alone.</li> + <li>If used with another device, they can transfer one's + consciousness to another body.</li> + <li>If both stones are used with another device, the + consciousnesses switch bodies.</li> + </ul> + <strong><hr></strong> + <p>Radios use the electromagnetic spectrum in the meter range and + longer.</p> + <strong><hr></strong> + <p>Signal flares use the electromagnetic spectrum in the + nanometer range.</p> +</section> +<section> + <h1>Food</h1> + <p>All food at the project is rationed:</p> + <dl> + <dt>Potatoes</dt> + <dd>Two per day</dd> + <dt>Soup</dt> + <dd>One bowl per day</dd> + </dl> + <strong><hr></strong> + <p>Cooking is done by the chefs on a set rotation.</p> +</section></pre> + + <p>There is no need for an <code><a href="#the-hr-element">hr</a></code> element between the + sections themselves, since the <code><a href="#the-section-element">section</a></code> elements and + the <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code> elements imply thematic changes themselves.</p> + + </div><div class="example"> + <p>The following extract from <cite>Pandora's Star</cite> by Peter F. Hamilton shows two paragraphs that precede a scene change and the paragraph that follows it. The scene change, represented in the
Received on Monday, 12 April 2010 07:28:06 UTC