Specifies the character encoding of the style sheet.
Set the character encoding of the style sheet to Unicode UTF-8 (recommended)
Set the character encoding of the style sheet to Cyrillic (Windows 1251)
You can use only one @charset rule in an external style sheet. The rule must appear at the top of the file, cannot be preceded by any characters, and cannot be included in an embedded style sheet.
The rule has no default value.
- String that specifies the name of the character encoding.
- CSS 2.1, Section 4.4
- Cascading Style Sheets Level 2 Revision 1 (CSS 2.1)
Microsoft Developer Network: [Windows Internet Explorer API reference Article]