Stanards indicate that class is a cdata type 
(http://www.w3.org/TR/html401/struct/global.html#h-7.5.2) which, as defined 
here, http://www.w3.org/TR/html401/types.html#type-cdata accepts any sequence 
of characters (unlike the id and name attributes which have to begin with 
z-zA-Z).

Cheers,
S

-----Original Message-----
From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On 
Behalf Of Jens-Uwe Korff
Sent: Friday, 12 March 2010 11:12 AM
To: wsg@webstandardsgroup.org
Subject: [WSG] Using a dot "." in a class name

Hi all,

I've noticed that YouTube uses a dot for its star rating:

<button class="[...] ratingL ratingL-4.5">

It seems to work in browsers, but I'd like to know if this character is valid 
and if it might have future implications if used that way.

Thanks,
Jens

Please consider the environment before printing this e-mail.

The information contained in this email and any attachment is confidential and
may contain legally privileged or copyright material.   It is intended only for
the use of the addressee(s).  If you are not the intended recipient of this
email, you are not permitted to disseminate, distribute or copy this email or
any attachments.  If you have received this message in error, please notify the
sender immediately and delete this email from your system.  The ABC does not
represent or warrant that this transmission is secure or virus free.   Before
opening any attachment you should check for viruses.  The ABC's liability is
limited to resupplying any email and attachments.

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to