Web/API/HTMLDocument

From Get docs


The HTMLDocument interface, which may be accessed through the Window.HTMLDocument property, extends the Window.HTMLDocument property to include methods and properties that are specific to HTML documents.

For the purposes of web development, you can generally think of HTMLDocument as an alias for Document, upon which HTMLDocument is based. You can find documentation for the members of HTMLDocument under the Document interface.

Specifications

HTML Living StandardThe definition of 'HTMLDocument' in that specification. Living Standard Turn the HTMLDocument interface into a Document extension.
Document Object Model (DOM) Level 2 HTML SpecificationThe definition of 'HTMLDocument' in that specification. Obsolete Supersedes DOM 1
Document Object Model (DOM) Level 1 SpecificationThe 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
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
HTMLDocument Chrome

Full support Yes

Edge

Full support 12

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

Firefox Android

Full support Yes

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support Yes

Legend

Full support  
Full support