Which characters can CSS-names contain?


The CSS-names; names of selectors, classes and IDs can contain characters a-z, A-Z, digits 0-9, period, hyphen, escaped characters, Unicode characters 161-255, as well as any Unicode character as a numeric code. The names cannot start with a dash or a digit. (Note: in HTML the value of the CLASS attribute can contain more characters).



Explore posts in the same categories: CSS Interview Questions


BOOKMARK THIS : del.icio.us | Digg it | Furl | reddit |


Related Questions :

  • What is the maximum allowed length of a Record Group ?
  • Record group column names cannot exceed 30 characters....
  • What are Unicode characters?
  • Unicode is used for internal representation of characters and strings and it uses 16 bits to represent each other....
  • Is it possible to include international character (such as Japanese, or Chinese) characters inside an XML document. If yes, how?
  • Yes, XML being a Unicode-text-based standard supports international characters. The encoding attribute value in the XML declaration line () needs...
  • What is ‘LIKE’ used for in WHERE clause? What are the wildcard characters ?
  • LIKE is used for partial string matches. '%' ( for a string of any character ) and '_' (for...
  • What is ID selector?
  • ID selector is an individually identified (named) selector to which a specific style is declared. Using the ID attribute the...
  • What are record groups?
  • A record group is an internal Oracle Forms data structure that has a column/row framework similar to a database table....
  • How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?
  • Unicode requires 16 bits and ASCII require 7 bits. Although the ASCII character set uses only 7 bits, it is...
  • What is the difference between StringBuffer and String class?
  • A string buffer implements a mutable sequence of characters. A string buffer is like a String, but can be modified....
  • Why doesn’t the following statement work?
  • char str[ ] = "Hello" ; strcat ( str, '!' ) ; Ans: The string function strcat( ) concatenates strings and not...
  • Is it possible to have characters from multiple encodings into a single XML document? If yes, how?
  • XML declaration line (and hence the encoding attribute) is optional in the XML document. The parser uses the first bytes...

    Comment:

    You must be logged in to post a comment.