![]() |
VOOZH | about |
The length property is used to find the number of style declarations used for the particular element.
Syntax: It is used to return the length property.
element.style.length
Return Value: It returns the number of style declarations specified for an element in the form of integers.
Example: To show the working of the length property:
Output:
Supported Browsers: The supported browsers by Style Declaration length Property are listed below: