1<p id="p1">Hello World!</p>
2
3<script>
4document.getElementById("p1").innerHTML = "New text!";
5</script>
1element.innerHTML = "<p>read this</p>" Change the inner HTML of an element
2element.style.color = "blue"; Change the style of an HTML element
3element.setAttribute(important, "true") Change the attribute value of an HTML element
4element.important = "true" Change the attribute value of an HTML element