Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <h1 id="myH"></h1> <p id="myP"></p> <script> // Change heading: document.getElementById("myH").innerHTML = "My First Page"; // Change paragraph: document.getElementById("myP").innerHTML = "My first paragraph."; </script> <p><strong>Note:</strong> The comments are not executed.</p> </body> <!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_comments1 by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:24:02 GMT --> </html>
Result:
Try it Yourself - © w3schools.com