Easy Tutorial
❮ Tag Ins Tag Head ❯

HTML <a> charset Attribute

HTML <a> Tag

Example

The following example uses the charset attribute in a link:


Browser Support

None of the major browsers support the charset attribute.


Definition and Usage

The charset attribute of the <a> tag specifies the character encoding used in the linked document.


Syntax

Attribute Values

Value Description
character_set The character set of the linked document. Common character sets include: UTF-8 - Unicode character encoding<br> ISO-8859-1 - Latin alphabet character encoding. 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. For a list of all available character sets, visit our Character Sets Reference.

HTML <a> Tag

❮ Tag Ins Tag Head ❯