HTML <a> charset attribute
Examples
The following example uses the charset attribute in the link:
<a charset="UTF-8" href="http://www.w3big.com/">访问本教程!</a>
try it"
Browser Support
All major browsers do not support the charset attribute.
Definition and Usage
HTML5 is no longer supported charset attribute <a> tag.
charset attribute <a> tag is used to specify the character encoding as the link destination document uses.
grammar
<a charset="value">
Property Value
value | description |
---|---|
character_set | The character set of the document link. Commonly used character sets are:
In theory, you can use any character set, but not all browsers can understand them. One of the character set used in the wide range, the browser more likely to understand it. To view all available character sets, please visit our character set reference manual . |