In the upcoming chapters of this tutorial, you will learn how to:
The DOM, a W3C standard, provides a consistent way to access documents. It is defined as a “platform- and language-neutral interface allowing programs and scripts to dynamically interact with a document’s content, structure, and style.”
The W3C DOM standard is divided into three key parts:
The HTML DOM is a standardized object model and programming interface for HTML. It defines:
In other words, the HTML DOM provides a standard way to retrieve, modify, add, or remove HTML elements.