Link charset property
Link Object
Definition and Usage
The charset property sets or returns the character encoding of the linked document.
Syntax
Set the charset property:
linkObject.charset="
character-set
"
Return the charset property:
linkObject.charset
Browser support





All major browsers support the charset property.
Example
Example
Display the character encoding of the linked document:
Try it »
Link Object