CSS counter styling

two properties:

* counter-reset

* counter-increment

This example shows a way to number chapters and sections with “Chapter 1”, “1.1”, “1.2”, etc.