'documentElement' Example : documentElement « Javascript Properties « JavaScript Reference





'documentElement' Example

    
<html>
<body>
<button onClick="alert(document.documentElement.nodeName);">Root Node</button>
</body>
</html>

    
      
      










Related examples in the same category

1.'documentElement' Syntax and Note
2.'documentElement' is applied to