Re: name="" deprecated in XHTML

Johannes Koch schrieb:
> 
> David Woolley schrieb:
> 
>> (strictly speaking you could probably have both ID and NAME, with 
>> different values)
> 
> For a element, this is questionable.
> <http://www.w3.org/TR/html4/struct/links.html#adef-name-A>:
> 
>> Note that this attribute shares the same name space as the id attribute
> 
> I read this as: name and id attributes for the same a element must have 
> the same values.

And <http://www.w3.org/TR/html4/struct/links.html#h-12.2.3>:

The id and name attributes share the same name space. This means that 
they cannot both define an anchor with the same name in the same 
document. It is permissible to use both attributes to specify an 
element's unique identifier for the following elements: A, APPLET, FORM, 
FRAME, IFRAME, IMG, and MAP. When both attributes are used on a single 
element, their values must be identical.

-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)

Received on Thursday, 26 June 2008 07:48:43 UTC