What is the use of DOM in W3C standards?
What is the use of DOM in W3C standards?
- HTML DOM is used to add, remove, and change the elements of HTML by using the HTML DOM.
- DOM considers the entire element in an HTML document as a node and it treats all of them using the same standards.
- The document is being given in the document node and all the elements of the HTML are present in the element node.
- The text used in the HTML elements is for the text nodes and allows the properties to be used for further use.
- HTML usually consists of the attribute and it is stored in the attribute node that allows easy modification of the properties.