@charset
Term side of the Card
Topic: Directives
Unit title: @charset
Categories: Directive
Explanation side of the Card
Explanation: The directive that declares the character encoding of a stylesheet, like UTF-8. It should be placed at the very top of the CSS file, ensuring that the browser correctly interprets the characters in the file.
Browser compatibility:
- The chrome browser supports this feature starting from version 2
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 1.5
- The safari browser supports this feature starting from version 4
Availability: