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

Re: The ID Attribute

From: Arthur Wiebe <webmaster@awiebe.com>
Date: Sun, 06 Apr 2003 08:21:27 -0500
Message-ID: <3E9029D7.7030600@awiebe.com>
To: Roland Bluethgen <calocybe@web.de>, www-html@w3.org



Roland Bluethgen wrote:

>
> Bjoern Hoehrmann wrote:
>
>> * Simon Jessey wrote:
>>
>>>> Why is it invalid just because the value is numbers only?
>>>
>>>
>>> I think it has always been that way. The same goes for the name 
>>> attribute.
>>
>>
>>
>> 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:
>
> >>ID and NAME tokens must begin with a letter ([A-Za-z]) and may be 
> followed by any number of letters, digits ([0-9]), hyphens ("-"), 
> underscores ("_"), colons (":"), and periods (".").<<
>
> So long
>
>
I never seen that on the spec. I'll have to look it over again.
Received on Sunday, 6 April 2003 08:21:34 GMT

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