[html5] r1985 - [e] (0) forgot to escape tags; add a label element in an example

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 4 04:14:44 PDT 2008


Author: ianh
Date: 2008-08-04 04:14:43 -0700 (Mon, 04 Aug 2008)
New Revision: 1985

Modified:
   index
   source
Log:
[e] (0) forgot to escape tags; add a label element in an example

Modified: index
===================================================================
--- index	2008-08-04 10:42:42 UTC (rev 1984)
+++ index	2008-08-04 11:14:43 UTC (rev 1985)
@@ -16288,9 +16288,9 @@
     alternative text of the first image, and the rest have blank alternative
     text.</p>
 
-   <pre><p>Rating: <meter max=5 value=3><strong><img src="1" alt="3/5"
+   <pre><p>Rating: <meter max=5 value=3><strong><img src="1" alt="3/5"
   ><img src="1" alt=""><img src="1" alt=""><img src="0" alt=""
-  ><img src="0" alt=""></strong></meter></p></pre>
+  ><img src="0" alt=""></strong></meter></p></pre>
   </div>
 
   <p>If any of the components of the sliced picture are the sole contents of
@@ -16405,9 +16405,9 @@
     instance, the point of a CAPTCHA image is to see if the user can
     literally read the graphic. Here is one way to mark up a CAPTCHA:</p>
 
-   <pre><p>What does this image say?
+   <pre><p><label>What does this image say?
 <strong><img src="captcha.cgi?id=8934" alt="{captcha}"></strong>
-<input type=text name=captcha>
+<input type=text name=captcha></label>
 (If you cannot see the image, you can use an <a
 href="?audio">audio< test instead.)</p></pre>
   </div>

Modified: source
===================================================================
--- source	2008-08-04 10:42:42 UTC (rev 1984)
+++ source	2008-08-04 11:14:43 UTC (rev 1985)
@@ -13873,9 +13873,9 @@
    "3/5". That is the alternative text of the first image, and the
    rest have blank alternative text.</p>
 
-   <pre><p>Rating: <meter max=5 value=3><strong><img src="1" alt="3/5"
+   <pre><p>Rating: <meter max=5 value=3><strong><img src="1" alt="3/5"
   ><img src="1" alt=""><img src="1" alt=""><img src="0" alt=""
-  ><img src="0" alt=""></strong></meter></p></pre>
+  ><img src="0" alt=""></strong></meter></p></pre>
 
   </div>
 
@@ -14006,9 +14006,9 @@
    if the user can literally read the graphic. Here is one way to mark
    up a CAPTCHA:</p>
 
-   <pre><p>What does this image say?
+   <pre><p><label>What does this image say?
 <strong><img src="captcha.cgi?id=8934" alt="{captcha}"></strong>
-<input type=text name=captcha>
+<input type=text name=captcha></label>
 (If you cannot see the image, you can use an <a
 href="?audio">audio< test instead.)</p></pre>
 




More information about the Commit-Watchers mailing list