Connecting Tech Pros Worldwide Forums | Help | Site Map

how HTML DOM objects ecome availale for use ?

Newbie
 
Join Date: Mar 2009
Posts: 3
#1: Jul 26 '09
How do DOM objects get loaded ?
document, window, textarea, object etc ?
If I want to use java objects, I need to install jdk and import java classes in a program. But I dont install any development kit for HTML or DOM objects , nor do I import any HTML or DOM classes. So how do these objects become available for use in html page ? How do they get installed and how do they become available for use in html page ?

Are they installed with the operating system ? When a browser is installed, all these objects get loaded with it ?

When we name give any document .html extension, at that time do these objects automatically become available for use in that document ?

Pls explain.

thanks

drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,577
#2: Jul 26 '09

re: how HTML DOM objects ecome availale for use ?


If you aren't talking about objects as they relate to any language, the objects in the dom are created by the browser software when the page is loaded and the HTML is parsed. A tree is created, the object model, according to the layout rules. It has nothing to do with the operating system.
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#3: Jul 27 '09

re: how HTML DOM objects ecome availale for use ?


Don't confuse HTML with programming languages - it is a markup language. Completely different things.
Reply