Re: LABEL tag with "for" attribute not validated

At 19:26 14/05/2002 -0400, Sorin Lazareanu wrote:
>       <LABEL for="test">Test</LABEL>
>       <INPUT type="text" name="test">

Should be

       <LABEL for="test">Test</LABEL>
       <INPUT type="text" id="test">

The INPUT needs the id attribute not the name attribute.

See http://www.w3.org/TR/html4/interact/forms.html#adef-for and 
http://delivery.unite.net/temp/for.html

Cool error message though :-)

Andrew

--
Andrew McFarland
UNITE Solutions
http://www.unite.net/

Received on Monday, 20 May 2002 04:13:57 UTC