- It updates the heading's text
- It updates the paragraph's text
- It replaces the heading
<html>
<body>
<h1 id="studio">SwimFit</h1>
<p id="trial">Try the free trial</p>
<script>
document.getElementById("studio").innerHTML = "Dance Studios"
</script>
</body>
</html>]]>The code inside the script updates the heading's text.