• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 21. GENERATED CONTENT, AUTOMATIC... > The COUNTER-INCREMENT and COUNTER-RE...

The COUNTER-INCREMENT and COUNTER-RESET Properties

The COUNTER-INCREMENT and COUNTER-RESET properties are both used to increase the range of automatic numbering options available within browsers. Using these properties, you can now automatically set such things as chapter headings with sub-sections. The COUNTER-INCREMENT property is used to establish which Web tag begins a sequence and when a value of "1" should be added to subsequent instances of that tag within the page. The COUNTER-RESET property determines which element should reset the counting for properties on the Web page (i.e., turn the increment value back to "0").

COUNTER-INCREMENT

Description: Defines the property to be automatically incremented, and the amount by which it is to be incremented.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint