Export (0) Print
Expand All

@charset

Sets the character set for an external style sheet.

Syntax

@charset sCharacterSet

Possible values

sCharacterSet

String that specifies the htmlCharacter Sets.

Remarks

The rule has no default value.

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.

Example

The following example implements the @charset rule:

@charset "Windows-1251";

Standards information

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft