HTML DOM Document inputEncoding Attribute
- Previous Page importNode()
- Next Page lastModified
- Go Up One Level HTML DOM Documents
Definition and Usage
Not recommended inputEncoding
property. Do not use it.
inputEncoding
The attribute may not work in future browsers.
Alternatives:
See also:
Example
Display the character encoding of this document:
let encoding = document.inputEncoding;
Syntax
document.inputEncoding
Return Value
Type | Description |
---|---|
String | Character Encoding of the Document. |
- Previous Page importNode()
- Next Page lastModified
- Go Up One Level HTML DOM Documents