html5/spec Overview.html,1.4012,1.4013

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv21459

Modified Files:
	Overview.html 
Log Message:
Add a quite contrived example for <hr>. (whatwg r4995)

Index: Overview.html
===================================================================
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>&lt;section&gt;
+ &lt;h1&gt;Communication&lt;/h1&gt;
+ &lt;p&gt;There are various methods of communication. This section
+ covers a few of the important ones used by the project.&lt;/p&gt;
+ <strong>&lt;hr&gt;</strong>
+ &lt;p&gt;Communication stones seem to come in pairs and have mysterious
+ properties:&lt;/p&gt;
+ &lt;ul&gt;
+  &lt;li&gt;They can transfer thoughts in two directions once activated
+  if used alone.&lt;/li&gt;
+  &lt;li&gt;If used with another device, they can transfer one's
+  consciousness to another body.&lt;/li&gt;
+  &lt;li&gt;If both stones are used with another device, the
+  consciousnesses switch bodies.&lt;/li&gt;
+ &lt;/ul&gt;
+ <strong>&lt;hr&gt;</strong>
+ &lt;p&gt;Radios use the electromagnetic spectrum in the meter range and
+ longer.&lt;/p&gt;
+ <strong>&lt;hr&gt;</strong>
+ &lt;p&gt;Signal flares use the electromagnetic spectrum in the
+ nanometer range.&lt;/p&gt;
+&lt;/section&gt;
+&lt;section&gt;
+ &lt;h1&gt;Food&lt;/h1&gt;
+ &lt;p&gt;All food at the project is rationed:&lt;/p&gt;
+ &lt;dl&gt;
+  &lt;dt&gt;Potatoes&lt;/dt&gt;
+  &lt;dd&gt;Two per day&lt;/dd&gt;
+  &lt;dt&gt;Soup&lt;/dt&gt;
+  &lt;dd&gt;One bowl per day&lt;/dd&gt;
+ &lt;/dl&gt;
+ <strong>&lt;hr&gt;</strong>
+ &lt;p&gt;Cooking is done by the chefs on a set rotation.&lt;/p&gt;
+&lt;/section&gt;</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:27:21 UTC