What is DOM?
Definition: DOM (Document Object Model): An application programming interface (API) for HTML and XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. In the DOM specification, the term "document" is used in the broad sense - increasingly, XML is being used as a way of representing many different kinds of information that may be stored in diverse systems, and much of this would traditionally be seen as data rather than as documents. Nevertheless, XML presents this data as documents, and the DOM may be used to manage this data.
(or)
Short for Document Object Model, the specification for how objects in a Web page (text, images, headers, links, etc.) are represented. The DOM defines what attributes are associated with each object, and how the objects and attributes can be manipulated. Dynamic HTML (DHTML) relies on the DOM to dynamically change the appearance of Web pages after they have been downloaded to a user's browser.
Unfortunately, the two leading browsers -- Netscape Navigator and Microsoft Internet Explorer -- use different DOMs. This is one reason why their respective implementations of DHTML are so different. Both companies have submitted their DOMs to the World Wide Web Consortium (W3C) for standardization, which now has the daunting task of specifying a standard DOM without alienating either of the browser giants. The W3C's DOM specification will support both HTML and XML.
(or)
The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTMLand XML documents. Aspects of the DOM (such as its "Elements") may be addressed and manipulated within the syntax of the programming language in use. The public interface of a DOM is specified in its application programming interface (API).
No comments:
Post a Comment