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 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 | Supersedes DOM 1 |
Document Object Model (DOM) Level 1 Specification The definition of 'HTMLDocument' in that specification. |
Obsolete | Initial definition |
Browser compatibility
BCD tables only load in the browser
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.