Example In the following example, the charset attribute indicates that the linked document is written in Japanese: <head> ...
Example
In the following example, the charset attribute indicates that the linked document is written in Japanese:<head> <link href="domoarigato.htm" rel="parent" charset="ISO-2022-JP" /> </head> |
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.
Browser Support
Note: The charset attribute is not supported by any of the major browsers.Syntax
<link charset="value" /> |
Attribute Values
Value | Description |
---|---|
character_set | The character encoding of the linked document.Common values:
To view all available character encodings, go to our Character sets reference. |