CodeClerks

Is CSS case-sensitive?



Enter a reason for deleting this comment

Is CSS case-sensitive?

Is CSS case-sensitive? This might be important to know for someone working with CSS.

Comments

Please login or sign up to leave a comment

Join
obaidul100

NO its not case sensitive. You can write it any font case like if you want to write font-family, you can write Font-Family where
font-family = Font-Family.

Its Proved



Enter a reason for deleting this comment

Sean101

I don't think it is, although I may be wrong, hopefully someone will put me right if I am, but I am sure if some of your letters in your CSS code are capitals when they shouldn't be or the other way around, things will still work correctly. Is CSS case-sensitive?



Enter a reason for deleting this comment

Beverly

Typically CSS is not case sensitive, however font families, URLs to images, as well as direct references with the style sheet may be.



Enter a reason for deleting this comment

rashmipal

Cascading Style Sheets (CSS) is not case sensitve.



Enter a reason for deleting this comment

jakemadness

CSS(3) is not case sensitive from what I am aware of :rolleyes:



Enter a reason for deleting this comment

sunil0021

Css is not case sensitive according to my knowledge.

- Sunil Bishnoi



Enter a reason for deleting this comment

ankitagupta339

not case sensitive



Enter a reason for deleting this comment

Omar77

CSS is not case sensitive but It is better to use small character.



Enter a reason for deleting this comment

tarunap

CSS is not case sensitive.



Enter a reason for deleting this comment

dacamy

CSS is case insensitive in all matters under its control; however, some things, such as the document markup language, are beyond its control.

HTML is case insensitive in most respects, except when it comes to certain attribute values, like the id and class attributes.
XHTML, being XML, is always case sensitive.

You can read more here.



Enter a reason for deleting this comment