[html5] r3321 - [e] (0) Example for <label>.
whatwg at whatwg.org
whatwg at whatwg.org
Thu Jun 25 22:18:17 PDT 2009
Author: ianh
Date: 2009-06-25 22:18:15 -0700 (Thu, 25 Jun 2009)
New Revision: 3321
Modified:
index
source
Log:
[e] (0) Example for <label>.
Modified: index
===================================================================
--- index 2009-06-26 01:52:20 UTC (rev 3320)
+++ index 2009-06-26 05:18:15 UTC (rev 3321)
@@ -1512,7 +1512,7 @@
<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.</p>
@@ -28194,8 +28194,19 @@
</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>
@@ -71417,6 +71428,7 @@
Ojan Vafai,
Olaf Hoffmann,
Olav Junker Kjær,
+ Oldřich Vetešník,
Oliver Hunt,
Oliver Rigby,
Olli Pettay,
Modified: source
===================================================================
--- source 2009-06-26 01:52:20 UTC (rev 3320)
+++ source 2009-06-26 05:18:15 UTC (rev 3321)
@@ -520,7 +520,7 @@
<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.</p>
@@ -31283,8 +31283,19 @@
</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>The <dfn><code>input</code></dfn> element</h4>
<dl class="element">
@@ -84238,6 +84249,7 @@
Ojan Vafai,
Olaf Hoffmann,
Olav Junker Kjær,
+ Oldřich Vetešník,
Oliver Hunt,
Oliver Rigby,
Olli Pettay,
More information about the Commit-Watchers
mailing list