DOM Properties and Methods

The Properties and methods define the programming interface of the HTML DOM. The HTML DOM properties are values of HTML elements that we can set or change and the DOM methods are actions we can perform on HTML elements.

HTML DOM Properties :

The HTML DOM properties are the values of HTML elements that we can set. For example the value of a node or the text of the node etc. Some of the DOM properties are as follows :



HTML DOM Methods :

The HTML DOM Methods are actions that we can perform on HTML elements. For example add or delete an HTML element or modify its attributes etc. Some of the HTML DOM methods are :

Next Topic :