documentElement property

Element? get documentElement

The documentElement read-only property of the Document interface returns the Element that is the root element of the document (for example, the html element for HTML documents).

Implementation

external Element? get documentElement;