Its capacity is amazing.
DOM gives access to each and every element in an electronic document (be the document HTML, XHTML, or XML): yes, each and every element, from top to bottom of a document.
The programmer/designer today just needs to call the element by its id or by its position in the document ~ to change any element dynamically across browsers.