0 votes
in JavaScript by
What is Document Object Model (DOM)?

1 Answer

0 votes
by
DOM stands for Document Object Model.

DOM is a programming interface for HTML and XML documents.

When the browser tries to render a HTML document, it creates an object based on the HTML document called DOM. Using this DOM, we can manipulate or change various elements inside the HTML document.

Example of how HTML code gets converted to DOM:

Related questions

+1 vote
asked Aug 20, 2020 in XML by Robindeniel
0 votes
asked Oct 9, 2022 in JavaScript by Robin
...