Document Object Model

Domain Hosting image
Web Hosting
Dedicated server
ssl certificate
Web Design image
Email
First DHTML needs a way to look at the document. When you work with static HTML, the browser looks at the entire document, interprets it, and is finished with it. It begins and ends life as a text file filled with display instructions. With Dynamic HTML, the document takes on a structure of its own, which is called the Document Object Model (DOM).

As the browser encounters each element on the page, it notes what the element is and where it is and places it in a stack with similar elements. In this way, it can keep track of everything on the page, from the smallest <H6> heading and <HR> horizontal rule, to all of the elements on a form. In essence, the browser creates a database each time a page is loaded, and each tag becomes a record in the database.

Controlling the Document with Scripts

Next, DHTML needs a way to control how the different elements of the documents are controlled. This is accomplished through scripting languages, such as JavaScript or VBScript. Dynamic HTML is about grabbing hold of any element on the page, at any time after the page has downloaded, and changing its appearance, content, or location on the page.



Domain Name Search

www.


Copyright (C) 2007. Web Domain design hosting. All rights reserved.