HBCMS更多的中文手册参考:

@charset Rule

DHTML文档教程

Sets the character set for an external style sheet.

dhtml语法

HTML@charset sCharacterSet
ScriptingN/A

DHTML可能的值

sCharacterSetString that specifies the html character sets.

remarks

the rule has no default value.

expressions can be used in place of the preceding value(s), as of microsoft® internet explorer 5. for more information, see about dynamic properties.

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.

DHTML代码范例

The following example implements the @charset rule.

@charset "Windows-1251";

是否符合公共标准

This rule is defined in Cascading Style Sheets (CSS), Level 2 (CSS2) Non-Microsoft link.