1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Proper class & id Naming...

Discussion in 'XenForo Questions and Support' started by Xarcell, Jul 1, 2011.

  1. Xarcell

    Xarcell Well-Known Member

    I was wondering if it is proper to use all lowercase, or is it ok to use uppercase as well.



    or should it be all lowercase/


    I'm currently using _ and - to separate words, to make it an easier read. I also heard that using uppercase effects validation of doc type.

    Is the proper terms for the example above just called a id or class, or is it called something else like attribute? I always get confused on that...
  2. Luke F

    Luke F Well-Known Member

    It doesn't matter
  3. dieketzer

    dieketzer Well-Known Member

    Xarcell likes this.
  4. Xarcell

    Xarcell Well-Known Member

    Thanks, that answers all my questions!

Share This Page