W3C home > Mailing lists > Public > www-html@w3.org > June 2008

Re: name="" deprecated in XHTML

From: David Woolley <forums@david-woolley.me.uk>
Date: Thu, 26 Jun 2008 08:59:35 +0100
Message-ID: <48634C67.1010305@david-woolley.me.uk>
To: W3C HTML Mailing List <www-html@w3.org>

Johannes Koch wrote:
> 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>:

On reflection, you are right.  The intention of that part of the spec is 
to allow a transition to purely using ID.  I included the parenthesized 
bit as an afterthought to try and avoid someone picking that up as a 
fine detail, even though it would clearly have been bad practice, 
whatever the spec said (hence "in theory", to imply it was bad practice).
>> 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.

The important quote was actually:

the value of this attribute must be a unique anchor name.

which rules out the use of the same name value for multiple A elements.

David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Thursday, 26 June 2008 07:58:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:20 UTC