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

Re: Radio and checkbox texts

From: Anas R. <anas.linuxfuture@gmail.com>
Date: Sun, 27 Apr 2008 11:45:36 +0200
To: "w3-html" <www-html@w3.org>
Message-ID: <48143cba.1c89420a.11ca.0ffd@mx.google.com>


First of all, I'd like to emphasize that I'm suggesting a NEW syntax, regarding radio controls.
My objective of considering the text as the 'target object' which has an attribute called "radio button" , is the fact that there's 
nothing to do, or nothing to format or style for the radio button itself, but the text that explain its role.
Check this: 

<label>Gender:</label>						<input name="gender" type="radio">
																	<li value="male">Male</li>
																	<li value="female">Female</li>

> <label><input> text</label> would work equally well. I prefer to use  
> explicit association since the label can then be styled independently  
> of the control,
I agree.

Best regards, 
- Anas R.
Received on Sunday, 27 April 2008 08:44:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:20 UTC