This, then, is the Document Object Model (DOM); just as we could model a real-world object like a radio as a set of objects that we assemble, so we model our document as a set of HTML objects that the browser puts together.
In the case of modeling an HTML document, we have to decide:
The other design issue is to decide how the objects nest inside one another, and what the property names and method names ought to be. (Should an element's background color property be called bgColor or backgroundColor? Is it a property of the document as a whole, or just of the <body> tag?)
At this moment, there are three different Document Object Models:
|DOM Review (2)||Index||Properties|