javascript document documentElement
| documentElement | NN 6 IE 5 DOM 1 |
|
Read-only |
Returns a reference to the root element node of the document. For HTML documents, the reference is to the html element that encompasses the document's head and body elements. In a pure W3C DOM environment, the documentElement property is inherited from the core document object, and is thus available to XML documents, as well. |
|
| Example | |
var rootElem = document.documentElement; |
|
| Value | |
Element node reference. |
|
| Default | |
The current html element object. |
|
Previous: javascript document domain
543,Nickname,Homepage or email,Comments here,Add comment
