DOM JavaScript

With the HTML DOM, JavaScript can access and change all the elements of an HTML document.
When a web page is loaded, the browser creates a Document Object Model of the page. Here we look at basic ways JavaScript access, changes and adds elements to an HTML document.