class js.html.HtmlElement extends Element
Available on js
The html
object exposes the HTMLHtmlElement (
HTML 4 HTMLHtmlElement) interface and serves as the root node for a given HTML document. This object inherits the properties and methods described in the element section. In
HTML5, this interface inherits from HTMLElement, but provides no other members.
You can retrieve the html
object for a document by obtaining the value of the document.documentElement
property.
Documentation for this class was provided by MDN.