Share via


documentElement property

Gets a reference to the root node of the document.

Syntax

HRESULT value = object.get_documentElement(HTMLElement** p);

Property values

Type: Object

the reference to the document element.

Standards information

Remarks

The root node of a typical HTML document is the html object.