If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Hmm, this is kinda the wrong forum, you should have asked in the DOM forum instead. However, I trust a mod will be here soon and correct that for you. So, I'll get to explaining it instead:

The DOM is in short a way to, from a script, access, read and manipulate the document and it's components. W3C standardises the DOM and also provides bindings for Java and ECMAScript, to make it easy for the implementors to implement it in a way that is consistent with other implementors that are implementing it for the same language. To make a few examples, in JavaScript the object window.document refers (nowadays, this was not always the case) to the DOM interface Document. This is the base object in the hierarchy, and it contains Document-spanning methods such as getElementById, getElementsByTagName (which all elements have), createTextNode, createElement, createAttribute. Then we have the documentElement property, which refers to the root element (being the html element in HTML and XHTML). This element will in turn hold it's children, etc.