Document Object Model: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 2: Line 2:
== Definition ==
== Definition ==


The '''Document Object Model''' (DOM) is model {{quotation|in which the document or Web page contains objects (elements, links, etc.) that can be manipulated. So you will be able to delete, add, or change an element (as long as the document is still valid, of course!), change its content or add, delete or change an attribute. You will be able to get a list of all the H1 elements in the document, or all the elements with an attribute CLASS="foo".}}([http://www.w3.org/DOM/faq.htm W3C DOM FAQ], retrieved 17:00, 27 March 2008 (UTC))
The '''Document Object Model''' (DOM) is model
{{quotation|in which the document or Web page contains objects (elements, links, etc.) that can be manipulated. So you will be able to delete, add, or change an element (as long as the document is still valid, of course!), change its content or add, delete or change an attribute. You will be able to get a list of all the H1 elements in the document, or all the elements with an attribute CLASS="foo".}}
([http://www.w3.org/DOM/faq.htm W3C DOM FAQ], retrieved 17:01, 27 March 2008 (UTC))


More technically speaking the DOM is a series of API's that provide {{quotation| a standardized, versatile view of a document's contents. By supporting the DOM API, a program not only allows its data to be manipulated by other routines, but does so in a way that allows those manipulations to be reused with other DOMs, or to take advantage of solutions already written for those DOMs. This interoperability also allows programmers who invest in learning to use the DOM calls to apply those skills to other DOMs.}}
More technically speaking the DOM is a series of API's that provide {{quotation| a standardized, versatile view of a document's contents. By supporting the DOM API, a program not only allows its data to be manipulated by other routines, but does so in a way that allows those manipulations to be reused with other DOMs, or to take advantage of solutions already written for those DOMs. This interoperability also allows programmers who invest in learning to use the DOM calls to apply those skills to other DOMs.}}
([http://www.w3.org/DOM/faq.htm W3C DOM FAQ], retrieved 17:00, 27 March 2008 (UTC))
([http://www.w3.org/DOM/faq.htm W3C DOM FAQ], retrieved 17:01, 27 March 2008 (UTC))


See also: [[JavaScript links]], [[XHTML]], [[AJAX]] etc.
See also: [[JavaScript links]], [[XHTML]], [[AJAX]] etc.

Revision as of 19:01, 27 March 2008

Draft

Definition

The Document Object Model (DOM) is model “{{{1}}}” (W3C DOM FAQ, retrieved 17:01, 27 March 2008 (UTC))

More technically speaking the DOM is a series of API's that provide “a standardized, versatile view of a document's contents. By supporting the DOM API, a program not only allows its data to be manipulated by other routines, but does so in a way that allows those manipulations to be reused with other DOMs, or to take advantage of solutions already written for those DOMs. This interoperability also allows programmers who invest in learning to use the DOM calls to apply those skills to other DOMs.” (W3C DOM FAQ, retrieved 17:01, 27 March 2008 (UTC))

See also: JavaScript links, XHTML, AJAX etc.

Links

FAQs

Links/index/resource pages