What is the HTML DOM?
https://www.ethiotutors.net/pu....blic/courses/web-dev
The HTML DOM is an Object Model for HTML. It defines:
HTML elements as objects
Properties for all HTML elements
Methods for all HTML elements
Events for all HTML elements
The HTML DOM is an API (Programming Interface) for JavaScript:
JavaScript can add/change/remove HTML elements
JavaScript can add/change/remove HTML attributes
JavaScript can add/change/remove CSS styles
JavaScript can react to HTML events
JavaScript can add/change/remove HTML events
