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:13:32 +0200
Message-ID: <4810412C.8030406@sebastianmendel.de>
To: "Anas R." <anas.linuxfuture@gmail.com>
CC: w3-html <www-html@w3.org>

Anas R. schrieb:
> 
> 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>

this would be completely different from current specs!

whether it contains the value! and not the label like you mentioned above, 
or it contains nothing

label and input element was always separated and i do not see any sense in 
merging them (taking the freedom to place label before, above, below, in 
another cell oss)

your <label>Gender:</label> is a "group label", this is what fieldset and 
legend is intended for


-- 
Sebastian Mendel
Received on Thursday, 24 April 2008 08:12:05 GMT

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