Programmer's Guide > Interfaces > W3C Document interface > documentElement attribute
  
documentElement attribute
This is a convenience attribute that allows direct access to the child node that is the root element of the document. For HTML documents, this is the element with the tagName "HTML".
documentElement
Access
read-only
Returns
Element