How to change the value of a paragraph Javascript ? code example Example: change innerhtml document.getElementById("p1").innerHTML = "New text!";