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

html5/spec Overview.html,1.2460,1.2461

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 26 Jun 2009 05:18:25 +0000
To: public-html-commits@w3.org
Message-Id: <E1MK3pR-0005M6-4I@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20564

Modified Files:
	Overview.html 
Log Message:
Example for <label>. (whatwg r3321)

Index: Overview.html
===================================================================
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;/body&gt;
 &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>
   object.</p>
 
+  </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:18:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 26 June 2009 05:18:36 GMT