files/en-us/web/api/htmlhtmlelement/index.md
{{ APIRef("HTML DOM") }}
The HTMLHtmlElement interface serves as the root node for a given HTML document. This object inherits the properties and methods described in the {{domxref("HTMLElement")}} interface.
You can retrieve the HTMLHtmlElement object for a given document by reading the value of the {{domxref("document.documentElement")}} property.
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}