ZVON > References > DOM2 Reference

documentElement (attribute )

Owning interface and usage:  
Document.documentElement

Member of these other interfaces:  
none

Readonly:   yes

Type:   Element

Description:  
Stores the root element of the document.

Note:  
(For HTML documents, this is the element with the tagName "HTML".)


Example:
JavaScript:
  var output = document.documentElement.nodeName;
Output:
desired your browser
HTML