- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 26 Jun 2009 05:18:25 +0000
- To: public-html-commits@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 @@
</body>
</html></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><p><label>Full name: <input name=fn> <small>Format: First Last</small></label></p>
+<p><label>Age: <input name=age type=number min=0></label></p>
+<p><label>Post code: <input name=pc> <small>Format: AB12 3CD</small></label></p></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ær,
+ Oldřich Vetešník,
Oliver Hunt,
Oliver Rigby,
Olli Pettay,
Received on Friday, 26 June 2009 05:18:34 UTC