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

Re: name / id attribute usage

From: <mccarthy36@earthlink.net>
Date: Sun, 24 Nov 2002 19:23:50 -0500
Message-ID: <4910-220021112502350654@M2W069.mail2web.com>
To: www-html@w3.org

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.  If you were trying to make some specific point in relation to my
post, please elaborate.

Original Message:
-----------------
From: Boris Zbarsky bzbarsky@MIT.EDU

> Furthermore, in 4.10 of XHTML 1.0 it says (once again regarding 'id' and
> 'name' used as fragment identifiers):
> "HTML 4 defined the name attribute for the elements a, applet, form,
frame,
> iframe, img, and map."
> 
> This omits at least one element, 'input',

Note that for inputs, "name" is not unique.  Eg all the radio buttons in a
radio group have the same name.

Boris


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
Received on Sunday, 24 November 2002 19:23:51 GMT

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