The HTMLDocument property of Window objects is an alias that browsers expose for the Document interface object.
You can find the members of HTMLDocument in the documentation of the Document interface.
Specifications
| HTML Living Standard The definition of 'HTMLDocument' in that specification. |
Living Standard | Turn the HTMLDocument interface into a Document extension. |
| Document Object Model (DOM) Level 2 HTML Specification The definition of 'HTMLDocument' in that specification. |
Obsolete | Supersede DOM 1 |
| Document Object Model (DOM) Level 1 Specification The definition of 'HTMLDocument' in that specification. |
Obsolete | Initial definition |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
| Desktop | Mobile | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLDocument | Chrome Full support Yes | Edge Full support Yes | Firefox Full support Yes | IE Full support Yes | Opera Full support Yes | Safari Full support Yes | WebView Android Full support Yes | Chrome Android Full support Yes | Edge Mobile Full support Yes | Firefox Android Full support Yes | Opera Android Full support Yes | Safari iOS Full support Yes | Samsung Internet Android ? |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown
Document Tags and Contributors
Tags:
Contributors to this page:
mdnwebdocs-bot,
sideshowbarker,
ExE-Boss,
Sheppy,
TimothyGu,
stuartharvie,
qadero,
Hfmanson,
sashak007,
fscholz,
ImperfectlyInformed,
teoli,
kscarfone,
ethertank,
stanton,
Brettz9
Last updated by:
mdnwebdocs-bot,