- From: Tina Holmboe <tina@greytower.net>
- Date: Thu, 24 Apr 2008 10:20:24 +0200
- To: "Anas R." <anas.linuxfuture@gmail.com>
- Cc: w3-html <www-html@w3.org>
On Thu, Apr 24, 2008 at 11:13:06AM +0200, Anas R. wrote:
> My theory is something like this:
>
> <label>Gender:</label> <input name="gender" value="male" type="radio">Male</input>
> <input name="gender" value="female" type="radio">Female</input>
>
> - Does "for" attribute in 'label' tag perform any real function? I don't think so!
It explicitly associate a label with a form control. In your example above there
is no such association, and hence a UA could do nothing to pair them up.
--
- Tina Holmboe Developer's Archive Greytower Technologies
http://www.dev-archive.net http://www.greytower.net
Received on Thursday, 24 April 2008 08:20:58 UTC