May 2003
Intermediate to advanced
480 pages
10h 9m
English
This property increments or decrements a named counter (for display with the content property) for each occurrence of the selected element(s).
On nested elements, a hierarchical counter is automatically created, so that you effectively have a separate counter at each level of the structure.
Inherited: No
See also: Section B.25content, Section B.27counter-reset
A counter name, optionally followed by a positive or negative integer to indicate how much to increment (positive) or decrement (negative) the counter. If you want to increment/decrement multiple counters for a single element, you can separate their names (and optional integers) by spaces.
The default value, none is also supported, but is of little ...
Read now
Unlock full access