dom.window.document get innerhtml code example Example: javascript innerhtml document.getElementById("example").innerHTML = "Paragraph changed!";