The Document Object Model (DOM) is a specification for document access. JavaScript can communicate with the browser using the Browser Object Model (BOM). The Element object in the HTML DOM represents an HTML element such as P, DIV, A, TABLE, or any other HTML element.