hixie: Add another example for <small>. (whatwg r5852)

hixie: Add another example for <small>. (whatwg r5852)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4694&r2=1.4695&f=h
http://html5.org/tools/web-apps-tracker?from=5851&to=5852

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4694
retrieving revision 1.4695
diff -u -d -r1.4694 -r1.4695
--- Overview.html 8 Feb 2011 01:53:26 -0000 1.4694
+++ Overview.html 8 Feb 2011 02:04:21 -0000 1.4695
@@ -14743,6 +14743,19 @@
   user, or use it for other purposes, such as indexing sections based
   on the sections' contact information.</p>
 
+  </div><div class="example">
+
+   <p>In this example the footer contains contact information and a
+   copyright notice.</p>
+
+   <pre>&lt;footer&gt;
+ &lt;address&gt;
+  For more details, contact
+  &lt;a href="mailto:js@example.com"&gt;John Smith&lt;/a&gt;.
+ &lt;/address&gt;
+ &lt;p&gt;&lt;small&gt;&copy; copyright 2038 Example Corp.&lt;/small&gt;&lt;/p&gt;
+&lt;/footer&gt;</pre>
+
   </div><h4 id="headings-and-sections"><span class="secno">4.4.11 </span><dfn>Headings and sections</dfn></h4><p>The <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code>&ndash;<code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code> elements and the
   <code><a href="#the-hgroup-element">hgroup</a></code> element are headings.<p>The first element of <a href="#heading-content">heading content</a> in an element
   of <a href="#sectioning-content">sectioning content</a> <a href="#represents">represents</a> the
@@ -16502,16 +16515,16 @@
   candidate for the <code><a href="#the-small-element">small</a></code> element: in such a case, the
   text is not a side comment, it is the main content of the page.<div class="example">
 
-   <p>In this example the footer contains contact information and a
-   copyright notice.</p>
+   <p>In this example, the <code><a href="#the-small-element">small</a></code> element is used to
+   indicate that value-added tax is not included in a price of a hotel
+   room:</p>
 
-   <pre>&lt;footer&gt;
- &lt;address&gt;
-  For more details, contact
-  &lt;a href="mailto:js@example.com"&gt;John Smith&lt;/a&gt;.
- &lt;/address&gt;
- &lt;p&gt;&lt;small&gt;&copy; copyright 2038 Example Corp.&lt;/small&gt;&lt;/p&gt;
-&lt;/footer&gt;</pre>
+   <pre class="example">&lt;dl&gt;
+ &lt;dt&gt;Single room
+ &lt;dd&gt;199 &euro; &lt;small&gt;breakfast included, VAT not included&amp;lt/small&gt;
+ &lt;dt&gt;Double room
+ &lt;dd&gt;239 &euro; &lt;small&gt;breakfast included, VAT not included&amp;lt/small&gt;
+&lt;/dl&gt;</pre>
 
   </div><div class="example">

Received on Tuesday, 8 February 2011 02:05:38 UTC