javascript document documentElement
@March 15, 2008, 1:22 a.m.
documentElement | Firefox/Netscape/NN 6 IE 5 Chrome/Safari/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. |
Permanent URL:
http://javascript.gakaa.com/document-documentelement.aspx
Powered by Linode.