DEV Community

Sathish K
Sathish K

Posted on

Dom and queryselector()

what is the DOM ?
DOM-Document Object Model.

The Document Object Model (DOM) in JavaScript is a programming interface for HTML and XML documents. It represents the structure of a document as a logical tree, where each part of the document (elements, attributes, text, etc.) is represented as a "node" or "object."

what is the queryselector() ?

The Document Object Model (DOM) in JavaScript is a programming interface for HTML and XML documents. It represents the structure of a document as a logical tree, where each part of the document (elements, attributes, text, etc.) is represented as a "node" or "object."

Top comments (0)