Skip to content
HTML.ONE
Home Glossary

Document Object Model (dom)

The DOM is a tree-like programming representation of a document, allowing scripts to inspect and modify its nodes.

Example

document.querySelector("main");

Further reference

MDN glossary