Re: The ID Attribute

* Roland Bluethgen wrote:
>> The name attribute is a CDATA attribute and may thus contain almost any
>> character, <a name = '1 foo <> bar'>...</a> is perfectly valid in HTML.
>
>If you had followed the pointer to the spec that Simon gave us, you 
>would have read:

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.

Received on Sunday, 6 April 2003 01:09:07 UTC