W3C home > Mailing lists > Public > www-html@w3.org > April 2008

Re: Radio and checkbox texts

From: Sebastian Mendel <lists@sebastianmendel.de>
Date: Thu, 24 Apr 2008 10:19:28 +0200
Message-ID: <48104290.8070506@sebastianmendel.de>
To: "Anas R." <anas.linuxfuture@gmail.com>
CC: w3-html <www-html@w3.org>

Anas R. schrieb:

> - Does "for" attribute in 'label' tag perform any real function? I don't think so!

it does, of course

you can not always surround labeltext and input box with <label> to assign 
the labeltext

f.e.
using a table for a form (which represents best the natural structure of 
form data) having the label in TH and the input in TD

-- 
Sebastian Mendel
Received on Thursday, 24 April 2008 08:18:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:13 GMT