characterSet property

Gets the name of the character set that is used to encode the document.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 3.1.3Internet Explorer 9

 

Syntax

JavaScript

p = object.characterSet

 

Property values

Type: String

A String value that specifies the character set.

Standards information

See also

document

 

 

Show: