Style counterReset Property
Style counterReset Property
The counterReset property is used to create or reset one or more counters. It is used in combination with counterIncrement property and the content property.
Syntax:-
Its syntax is:- object.style.counterReset OR object.style.counterReset = none|name number|initial|inherit
Return:-
Its return is:- string having counter-increment property of an element
Further Explanation:-
Value | Description |
---|---|
none | No counters will be reset. |
name | It defines which counter should be reset. |
number | The number sets the value the counter is set to on each occurrence of the selector. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |