What characters are widely supported in CSS class names?
        Posted  
        
            by last-child
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by last-child
        
        
        
        Published on 2010-04-11T13:38:04Z
        Indexed on 
            2010/04/11
            13:43 UTC
        
        
        Read the original article
        Hit count: 252
        
As detailed here among other places, the only valid characters in a html/css class name is a-z, A-Z, 0-9, hyphen and underscore, and the first character should be a letter. But in practice, what characters are in fact supported by most browsers? More specifically, I wonder what browsers properly understands a slash (/) in a class name, and what browsers support class names starting with a number.
I'm primarily interested in getting an answer for html rather than xhtml, in case there is a difference.
Thank you.
© Stack Overflow or respective owner