Extensible HyperText Markup Language

counter-reset

Definition

The counter-reset property is used to set to a specific value the count of counters defined by the functions counter() and counters() of the content property.

Example

  1. h2 {counter-reset: section 0)

Characteristics

Possible values

identifier integer
One or more instances of a counter name followed by the value to which the counter is to be reset. The value of 0 will be used if no value is specified.
none
Counter is not reset.
inherit
Use the same computed value as the parent element for this property.

Default value

none

Applies to

All elements

Inherited

No

See also

XStandard XHTML WYSIWYG editor
A standards-compliant WYSIWYG editor component for content management applications. The editor generates valid XHTML and uses CSS for formatting. Free version is available.

Check out XStandard