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

The ID Attribute

From: Arthur Wiebe <webmaster@awiebe.com>
Date: Sat, 05 Apr 2003 17:29:44 -0500
Message-ID: <3E8F58D8.1090107@awiebe.com>
To: www-html <www-html@w3.org>

I wanted to use the id attribute to make anchors for a FAQ using numbers 
like 01, 02, etc. But if the value of id is numbers only, it isn't valid.
Here's an example:

<span id="01">Question 1</span> This is invalid while <span 
id="question01">Question 1</span> is valid.

Why is it invalid just because the value is numbers only?
Received on Saturday, 5 April 2003 21:17:31 GMT

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