HTML <class> tag question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teksonline
    So Fucking Banned
    • Jan 2005
    • 2904

    #1

    HTML <class> tag question

    Is the value in class tag to be anything?

    or are there restrictions such ass a-z or a-z0-9 etc

    Any clues are helpful thanks
  • teksonline
    So Fucking Banned
    • Jan 2005
    • 2904

    #2
    nevermind

    In CSS 2.1, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [A-Za-z0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, or a hyphen followed by a digit. Only properties, values, units, pseudo-classes, pseudo-elements, and at-rules may start with a hyphen (-); other identifiers (e.g. element names, classes, or IDs) may not

    Comment

    • potter
      Confirmed User
      • Dec 2004
      • 6559

      #3
      wow dude

      Comment

      • sam from montreal
        Confirmed User
        • Nov 2003
        • 296

        #4
        good to know
        SEO r0ck st@r

        Giving tips 107776092 [email protected]

        Comment

        Working...