HTML DOM Style Object Properties

How to set properties to the style object in javascript?


HTML DOM Style Object Properties:
The Style object of the DOM allows you to change the values of your CSS properties at runtime. The change makes an immediate effect on your webpages. It is possible to modify the properties set by both the inline and external style sheets.
Syntax :

The Style object properties are categorized as follows:

Ask Questions

Ask Question