W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

Re: LABEL and/or TITLE In Forms?

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 14 Mar 2002 07:21:23 +0000 (GMT)
Message-Id: <200203140721.g2E7LNw03729@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org
> Option 1:
> <LABEL for="color">What is your favorite color?</LABEL>
> <INPUT type="text" name="color"  id="color">

Option 1a (subject to checking for broken browsers - there are rumours
that some get this wrong, although, as the default handling for unknown
elements works perfectly well, there is really no excuse):

<LABEL>What is your favourite color?
<INPUT type="text" name="colour" id="colour">
</LABEL>
Received on Thursday, 14 March 2002 02:21:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:01 GMT