HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head id="myHead"> <title>Example Page - Wikimass</title> </head> <body> <p>The following is the id of the head element in the document.</p> <p id="point"></p> <script> var x = document.getElementById("point"); x.innerHTML = document.head.id; </script> </body> </html>
OUTPUT
×

Save as Private