Re: The ID Attribute

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 UTC