Re: name / id attribute usage

[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 UTC