Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p>Hello World!</p> <div> <p>The DOM is very useful!</p> <p>This example demonstrates the <b>document.documentElement</b> property.</p> </div> <script> alert(document.documentElement.innerHTML); </script> </body> <!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_dom_document by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:36:37 GMT --> </html>
Result:
Try it Yourself - © w3schools.com