Easy Tutorial
❮ Att Colgroup Valign Att Track Src ❯

HTML <link> charset Attribute

HTML <link> Tag

Example

The charset attribute indicates that the linked document is written in Japanese:


Browser Support

Note: None of the major browsers support the charset attribute.


Definition and Usage

The charset attribute specifies the character encoding of the linked document.

The default character set for modern browsers is ISO-8859-1.


Syntax

Attribute Values

Value Description
character_set The character encoding of the linked document. Common character sets include: UTF-8 - Unicode character encoding<br> ISO-8859-1 - Character encoding for the Latin alphabet. Theoretically, any character encoding can be used, but not all browsers can understand them. The more widely a character encoding is used, the more likely it is to be understood by browsers. For a list of all available character encodings, visit our Character Sets Reference.

❮ Att Colgroup Valign Att Track Src ❯