W3C home > Mailing lists > Public > www-html@w3.org > April 2003

Re: The ID Attribute

From: Roland Bluethgen <calocybe@web.de>
Date: Sun, 06 Apr 2003 21:31:02 +0200
Message-ID: <3E908076.9020707@web.de>
To: www-html@w3.org

Bjoern Hoehrmann wrote:
> * Roland Bluethgen wrote:
> 
>>Bjoern Hoehrmann wrote:
>>
>>>http://www.w3.org/TR/html401/struct/links.html#adef-name-A
>>>
>>>The name attribute in <meta name='...' /> is a NAME token,
>>>the name attribute in <a name='...' /> is a CDATA token.
>>
>>Sorry, I confused the things. The name attribute of <a> is CDATA, but 
>>the id attribute is a NAME token. Simon's remarks apply to id only.
> 
> 
> The ID attribute is of type ID, not NAME...

True, the DTD reads
   id   ID   #IMPLIED  -- document-wide unique id --

But how do I have to understand 
http://www.w3.org/TR/html401/struct/global.html#adef-id then? What does 
the 'name' in
   id = name [CS]
mean?
Received on Sunday, 6 April 2003 15:31:36 GMT

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