What is the programming interface used for DOM or HTML documents?
What is the programming interface used for DOM or HTML documents?
- Programming interface is important if the DOM consisting of the HTML documents and provide settings for the node objects.
- Nodes in the tree are allowed to access the programming interface and it is defined with the DOM properties and methods.
- The properties and methods are used in the node and they are referred for the use in the HTML DOM.
- The DOM property that exists in HTML:
x.innerHTML – this stores the text value of x used to display it on the x axis.
x.nodeName – this stores the node name of x on the x axis of the node.
x.nodeValue – this provides the value of x for the node that is being used.