Forum

Is CSS Case Sensitive

This thread contains 1 reply, has 2 voices, and was last updated by  Darshan Rathod 1 month, 2 weeks ago.

  • Author Replies
  • #54516

    Is Cascading Style Sheets Case Sensitive?


  • #54518

    1) Cascading Style Sheets (CSS) isn’t case sensitive. Nonetheless, text style families, URLs to pictures, and other direct references with style sheet might be.

    2) All Selectors language structure is case-insensitive inside the ASCII extend (for example [a-z] and [A-Z] are equal), aside from parts that are not under the control of Selectors.

    3) The case sensitivity of document language element names, attribute names, and attribute values in selectors rely upon the document language.

    4) The trick is that on the off chance that you compose a record utilizing an XML declaration and an XHTML doctype, at that point the CSS class names will be case sensitive for certain browsers.

    5) It is a smart thought to abstain from naming classes where the main contrast is the situation, for instance, div.myclass { …} div.myClass { … } If the DOCTYPE or XML declaration is ever expelled from your pages, even accidentally, the last example of the style will be utilized, paying little respect to the case.


You must be to reply to this thread.Please or . Registration is 100% free.

GET FREE CONSULTATION

Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.

SUBSCRIBE TO OUR NEWSLETTER

Contact Us

Working Hours

  • Monday9:00 AM – 9:00 PM
  • Tuesday9:00 AM – 9:00 PM
  • Wednesday9:00 AM – 9:00 PM
  • Thursday9:00 AM – 9:00 PM
  • Friday9:00 AM – 9:00 PM
  • Saturday9:00 AM – 9:00 PM
  • SundayClosed
Copyright 2016-2019 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

Register your Interest