English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The charset attribute specifies the character encoding of the linked document, the default character set of modern browsers is ISO-8859-1.
The charset attribute indicates that the linked document is written in Japanese:
<link href="domoarigato.htm" rel="parent" charset="ISO"}-2022-JP">
IEFirefoxOperaChromeSafari
Note:All mainstream browsers do not support the charset attribute.
HTML5 The charset attribute of <link> is not supported.
The charset attribute specifies the character encoding method of the linked document.
The default character set for modern browsers is ISO-8859-1.
<link charset="character_set">
Value | Description |
---|---|
character_set | Character encoding of the linked document. Common character sets include:
In theory, any character encoding can be used, but not all browsers can understand them. The more widely a character encoding is used, the more likely it is that browsers can understand it. To view all available character encodings, please visit our Character Set Reference Manual. |