English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The following examples use the charset attribute in links:
<a charset="UTF-8" href="https://www.oldtoolbag.com/">Visit the basic tutorial website!</a>/a>Test it out ‹/›
IEFirefoxOperaChromeSafari
All mainstream browsers do not support the charset attribute.
HTML5The charset attribute for <a> is not supported.
The charset attribute specifies the character set of the linked document (the document referenced in the href attribute).
<a charset="value">
Value | Description |
---|---|
character_set | Character set of the linked document. Common character sets include:
In theory, any character set can be used, but not all browsers can understand them. The more widely a character set is used, the more likely it is that browsers will understand it. To view all available character sets, please visit our Character Set Reference Manual. |