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:
>>>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]
Received on Sunday, 6 April 2003 15:31:36 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:49 UTC