15.
What is the purpose of the Document Object Model (DOM) in HTML?
To encrypt and secure user data
To interact with databases
To provide structure and organization to HTML documents
To create stylish website designs
Correct: C
The purpose of the Document Object Model (DOM) in HTML is to provide structure and organization to HTML documents. It represents the document as a tree-like structure, where each element in the document is represented as an object with properties and methods. This allows developers to programmatically access, manipulate, and update the content, structure, and style of the HTML document.