W3C home > Mailing lists > Public > public-html-diffs@w3.org > June 2009

Example for <label>. (whatwg r3321)

From: poot <cvsmail@w3.org>
Date: Fri, 26 Jun 2009 14:18:47 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090626051847.79D542BBF2@toro.w3.mag.keio.ac.jp>
Example for <label>. (whatwg r3321)


RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2460
retrieving revision 1.2461
diff -u -d -r1.2460 -r1.2461
--- Overview.html	26 Jun 2009 01:52:27 -0000	1.2460
+++ Overview.html	26 Jun 2009 05:18:21 -0000	1.2461
@@ -1424,7 +1424,7 @@
 &lt;/html&gt;</pre><p>For more details on how to use HTML, authors are encouraged to
   consult tutorials and guides. Some of the examples included in this
-  specification might also be of use, but the novice authors is
+  specification might also be of use, but the novice author is
   cautioned that this specification, by necessity, defines the
   language with a level of detail that may be difficult to understand
   at first.<h2 id="infrastructure"><span class="secno">2 </span>Common infrastructure</h2><h3 id="terminology"><span class="secno">2.1 </span>Terminology</h3><p>This specification refers to both HTML and XML attributes and DOM
@@ -24976,6 +24976,16 @@
   elements</a>, on getting, must return that <code>NodeList</code>
+  </div><div class="example">
+   <p>The following example shows three form controls each with a
+   label, two of which have small text showing the right format for
+   users to use.</p>
+   <pre>&lt;p&gt;&lt;label&gt;Full name: &lt;input name=fn&gt; &lt;small&gt;Format: First Last&lt;/small&gt;&lt;/label&gt;&lt;/p&gt;
+&lt;p&gt;&lt;label&gt;Age: &lt;input name=age type=number min=0&gt;&lt;/label&gt;&lt;/p&gt;
+&lt;p&gt;&lt;label&gt;Post code: &lt;input name=pc&gt; &lt;small&gt;Format: AB12 3CD&lt;/small&gt;&lt;/label&gt;&lt;/p&gt;</pre>
   </div><h4 id="the-input-element"><span class="secno">4.10.4 </span>The <dfn><code>input</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
    <dd><a href="#flow-content-0">Flow content</a>.</dd>
    <dd><a href="#phrasing-content-0">Phrasing content</a>.</dd>
@@ -65174,6 +65184,7 @@
   Ojan Vafai,
   Olaf Hoffmann,
   Olav Junker Kj&aelig;r,
+  Old&#345;ich Vete&scaron;n&iacute;k,
   Oliver Hunt,
   Oliver Rigby,
   Olli Pettay,
Received on Friday, 26 June 2009 05:19:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:08:57 UTC