English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML-Referenzhandbuch

HTML-Tag-Übersicht

HTML: <a> charset Eigenschaft

HTML <a> Tag

Online Examples

The following examples use the charset attribute in links:

<a charset="UTF-8" href="https://de.oldtoolbag.com/">Visit the Basic Tutorial Website!</a>/a>
Test it out ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers do not support the charset attribute.

Definition and Usage

HTML5The charset attribute of <a> is not supported.
The charset attribute specifies the character set of the linked document (the document referenced in the href attribute).

Syntax

<a charset="value">

Attribute Value

ValueDescription
character_set

Character set of the linked document. Common character sets include:

  • UTF-8 - Unicode Character Encoding

  • ISO-8859-1 - Character Encoding of the Latin Alphabet

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 a browser is to understand it.

To view all available character sets, please visit our Character Set Reference Manual.

HTML <a> Tag