W3C home > Mailing lists > Public > www-style@w3.org > July 1999

IDs *not* in selectors

From: Sue Sims <sue@css.nu>
Date: Thu, 08 Jul 1999 16:14:33 GMT
To: www-style@w3.org
Message-ID: <3784cb52.2519649@mailhost.worldnet.att.net>
From: http://www.w3.org/TR/REC-CSS2/syndata.html#q4

"In CSS2, identifiers (including element names, classes, and IDs in
selectors) can contain only the characters [A-Za-z0-9] and  ISO 10646
characters 161 and higher, plus the hyphen (-); they cannot start with a
hyphen or a digit...."

So we may infer that #123myid is perfectly legal whilst P#123myid is
not?  If that was the intent, may I request a synthesis of the
rationale?
-- 
Sue Sims
Received on Thursday, 8 July 1999 12:14:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:59 GMT