Re: name / id attribute usage

OK, let me get back to my original question.  Is it permissible to use
'name' and 'id' on an 'input' element at the same time with different
values?  

12.2.3 of HTML 4 says:
"When both attributes [name and id] are used on a single element, their
values must be identical."

But that section is about fragment identifiers, so I was not certain if it
would also apply in the case that the attributes are used on an element not
in that list, e.g. 'input'.

** PLEASE CC to my address -- I am not subscribed to the list ** 
Jesse McCarthy 


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

My point was that <input> was left out of the list of controls on which
"name"
should be replaced with "id" because there is no way to do this replacement
with <input>, since "id" has to be unique.


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Received on Monday, 25 November 2002 00:08:04 UTC