W3Schools.com
M E G A J A V A . D K
TUTORIALS
Tutorials References
×

JS

The Language for Programming Web Pages

// Click the button to change the color of this paragraph

function myFunction() {
    var x;
    x = document.getElementById("demo");
    x.style.fontSize = "25px";
    x.style.color = "red";
}

JS

The Language for Programming Web Pages

<a href="https://www.w3schools.com/">Visit W3Schools.com!</a>