HtmlElement Interface
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.
Extends
Subinterfaces
Constructors
Code new HtmlElement() #
HtmlElement();
This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.