DOM :
The Document Object Model (DOM) is an application programming interface (API) for manipulating HTML documents.
The DOM represents an HTML document as a tree of nodes. The DOM provides functions that allow you to add, remove, and modify parts of the document effectively.
Note that the DOM is cross-platform and language-independent ways of manipulating HTML and XML documents.



Dom

DOM utilized in JavaScript
DOM stands for Document Object Model and is responsible for how various objects in a document interact with each other.
DOM is required for developing web pages, which includes objects like paragraphs, links, etc.
These objects can be operated to include actions like add or delete.
DOM is also required to add extra capabilities to a web page. On top of that, the use of API gives an advantage over other existing models.


How are event handlers utilized in JavaScript?
Events are the actions that result from activities, such as clicking a link or filling a form by the user. An event handler is required to manage the proper execution of all these events. Event handlers are an extra attribute of the object. This attribute includes the event’s name and the action taken if the event takes place.