- From: poot <cvsmail@w3.org>
- Date: Mon, 07 Feb 2011 21:05:36 -0500
- To: public-html-diffs@w3.org
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><footer> + <address> + For more details, contact + <a href="mailto:js@example.com">John Smith</a>. + </address> + <p><small>© copyright 2038 Example Corp.</small></p> +</footer></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>–<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><footer> - <address> - For more details, contact - <a href="mailto:js@example.com">John Smith</a>. - </address> - <p><small>© copyright 2038 Example Corp.</small></p> -</footer></pre> + <pre class="example"><dl> + <dt>Single room + <dd>199 € <small>breakfast included, VAT not included&lt/small> + <dt>Double room + <dd>239 € <small>breakfast included, VAT not included&lt/small> +</dl></pre> </div><div class="example">
Received on Tuesday, 8 February 2011 02:05:38 UTC