Forum

Is CSS Case Sensitive

This thread contains 1 reply, has 2 voices, and was last updated by Darshan Rathod 5 years, 8 months 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.


Viewing 1 reply thread

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

Subscribe to get latest updates regarding courses, IT industry and career prospects.

Copyright 2016-2024 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha