The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
characterSet property
Gets the name of the character set that is used to encode the document.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: String
A String value that specifies the character set.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 3.1.3
See also
Show:

