HTML <a> charset Attribute
Deprecated: Not Supported in HTML5.
No standards suppor.
Example
<a href="https://www.w3seekers.com" charset="UTF-8">W3seekers</a>
Meaning
The charset attribute is used to set the character encoding for the document like “UTF-8”.
This approach is an alternative to using the http-equiv method currently employed.
Note: This attribute is deprecated and should not be used by authors. Use the HTTP Content-Type header on the linked URL.
Standard Syntax
<a charset="characterSet">
Advertisement
Attribute Values
| Value | Description |
|---|---|
| characterSet | Specifies the character encoding for the document. The HTML5 specification recommend to use the UTF-8 character set! |