when to use innerhtml and html in javascript programming code example
Example: javascript innerhtml
document.getElementById("example").innerHTML = "Paragraph changed!";
document.getElementById("example").innerHTML = "Paragraph changed!";