Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <h1>My First JavaScript</h1> <p id="demo">JavaScript can change the style of an HTML element.</p> <script> function myFunction() { document.getElementById("demo").style.fontSize = "25px"; } </script> <button type="button" onclick="myFunction()">Click Me!</button> </body> <!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_script_styles by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:20:31 GMT --> </html>
Result:
Try it Yourself - © w3schools.com