Lesson 9 of 50

Introduction to the DOM

DOM stands for Document Object Model. It allows JavaScript to interact with HTML elements.

Accessing Elements

document.getElementById("title").innerText = "Hello DOM";
← Previous Next Lesson →