The Docoment Object Model (DOM) defines interfaces for programmatically accessing and manipulating the elements of a (typically HTML or SVG) document.
The DOM interfaces are available in JavaScript in the form of a large set of built-in objects with specific properties and methods.