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

Re: name="" deprecated in XHTML

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Tue, 01 Jul 2008 08:37:08 +0100
Message-ID: <4869DEA4.6050109@googlemail.com>
To: Sebastian Mendel <lists@sebastianmendel.de>
CC: Johannes Koch <koch@w3development.de>, www-html@w3.org

Benjamin Hawkes-Lewis wrote:
> 1. NAME as unique element identifier (A, APPLET, FORM, FRAME, IFRAME, 
> IMG, MAP); deprecated in favour of ID. If ID is present on the same 
> element, the values must be the same. This attribute has the NAME data 
> type ( http://www.w3.org/TR/html401/types.html#type-name ).

Sorry, NAME as unique identifier has data type CDATA, whereas ID is type 
ID ( http://www.w3.org/TR/html4/types.html#type-id ). I always get that 

Conceivably that holds a clue to David Woolley's pondering ("The only 
thing I don't understand is why it's uses as an alternative to @id 
wasn't deprecated in HTML 4."). The spec notes:

"Authors should consider the following issues when deciding whether to 
use id or name for an anchor name: ... The name attribute allows richer 
anchor names (with entities)."


Benjamin Hawkes-Lewis
Received on Tuesday, 1 July 2008 07:37:46 UTC

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