title | slug | page-type | browser-compat |
---|---|---|---|
HTMLDocument |
Web/API/HTMLDocument |
web-api-interface |
api.HTMLDocument |
{{APIRef("HTML DOM")}}
For historical reasons, {{domxref("Window")}} objects have a window.HTMLDocument
property whose value is the {{DOMxRef("Document")}} interface. So you can think of HTMLDocument
as an alias for {{DOMxRef("Document")}}, and you can find documentation for HTMLDocument
members under the documentation for the {{DOMxRef("Document")}} interface.
{{Specifications}}
{{Compat}}