Document Object Model
Document Object Model considers the html page itself as an object. Some key functions are
Document.getElementById
Document.getElementsByTagName
Element.getAttribute
Element.setAttribute
Document.createElement
Node.appendChild
Document Object Model considers the html page itself as an object. Some key functions are
Document.getElementById
Document.getElementsByTagName
Element.getAttribute
Element.setAttribute
Document.createElement
Node.appendChild