js get innerthtml form p tag code example Example: javascript innerhtml document.getElementById("example").innerHTML = "Paragraph changed!";