this(x) .innerHTML code example Example: js innerHTML Click to copydocument.getElementById("Test").innerHTML = "<p style='color:red;'>Test</p>";