W3C home > Mailing lists > Public > www-html@w3.org > November 2002

Re: name / id attribute usage

From: Jonas Jørgensen <jonasj@jonasj.dk>
Date: Mon, 25 Nov 2002 01:42:13 +0100
Message-ID: <3DE171E5.1040907@jonasj.dk>
To: www-html@w3.org
Cc: mccarthy36@earthlink.net

[quotes rearranged]

mccarthy36@earthlink.net wrote:
> Boris Zbarsky wrote:
>> Note that for inputs, "name" is not unique.  Eg all the radio buttons
>> in a radio group have the same name.
> I'm aware of that.  As far as I'm concerned that is an issue which
> hasn't yet been resolved reasonably.  It's not helpful to have
> attributes of the same name serving different purposes in different
> situations. E.g., it would be much more straightforward if there
> were an attribute 'control-name' whose only purpose is to provide a
> name for a control in a form.

In XHTML 1.0 and newer, that is indeed the only purpose of 'name'.

/Jonas
Received on Sunday, 24 November 2002 19:42:16 GMT

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