innerhtml to change code code example
Example 1: change innerhtml
document.getElementById("p1").innerHTML = "New text!";
Example 2: what is the meaning of the table innerhtml in javascript
table.innerhtml
document.getElementById("p1").innerHTML = "New text!";
table.innerhtml