Is CSS case Sensitive?

 Posted by Peermohamedmydeen on 10/7/2010 | Category: CSS 3 Interview questions | Views: 4201 | Points: 40

1. CSS is not case sensitive.

2. But some browsers taking CSS as case sensitive, where there may be the use of XML document and XHTML doctypes.

3. It is better practice to avoid CSS classes with same name, where the only difference is case.

4.Parts that are not under control of CSS like font family names and URLs can be case sensitive - IMAGE.gif and image.gif is not the same file.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response