Content Controls
These are the final few stylesheet commands that can affect the appearance of your web page. They can be used for section numbering and other similar manipulations.
- content can be a string, url, or counter. It can also be set to open-quote, close-quote, no-open-quote, or no-close-quote.
- counter-increment can be set to an identifier, an integer, or none.
- counter-reset can be set to an identifier, an integer, or none.
- quotes can be set to a string or none.
Examples
h1:before {content: "Section " counter(section) ". "; counter-increment: section; counter-reset: sub-section;}


