0% found this document useful (0 votes)
36 views

HTML and XML Dom

The XML DOM is a standard object model for XML that defines a standard programming interface. It presents an XML document as a tree structure with elements, attributes, and text as nodes. The HTML DOM is also a standard object model for HTML that defines the objects and properties of all HTML elements and the methods to access them. It views HTML documents as tree structures called node trees that can be accessed and manipulated by JavaScript.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

HTML and XML Dom

The XML DOM is a standard object model for XML that defines a standard programming interface. It presents an XML document as a tree structure with elements, attributes, and text as nodes. The HTML DOM is also a standard object model for HTML that defines the objects and properties of all HTML elements and the methods to access them. It views HTML documents as tree structures called node trees that can be accessed and manipulated by JavaScript.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

The XML DOM is: -

A standard object model for XML. A standard programming interface for XML - Platform and The XML DOM defines the objects language-independent The XML DOM is a standard for how to get change add or access them. delete XML elements. !t defines a standard wa" for accessing and manipulating XML documents. The DOM is a #$% &#orld #ide #eb %onsortium' standard. !t pro(ide objects and properties and methods &interface' to access all XML The DOM presents an XML document as a tree structure with elements. The DOM is separated into $ elements attributes and te)t as nodes.

What is the HTML DOM? The *TML DOM is+


A standard object model for *TML A standard programming interface for *TML A #$% standard

The *TML DOM defines the objects and properties of all *TML elements and the methods to access them. !n other words+ The HTML DOM is a standard for how to get, change, add, or de ete HTML e ements! The HTML DOM "ode Tree The *TML DOM (iews *TML documents as tree structures. The structure is called a "ode Tree: HTML DOM Tree #$amp e

#ith the *TML DOM all nodes in the tree can be accessed b" ,a(a-cript. All *TML elements &nodes' can be modified and nodes can be created or deleted.

You might also like