Generated content is content that is generated before or after an element using style properties. Therefore, it is not visible in the unstyled document itself, but when you print the PDF, the content is visible in the PDF file.
The content property is generally used when working with e.g. page headers and/or footers (please review chapter ??? for more information) or using pseudo-elements such as :before and :after.
For example, the headings in this sample are specified using the h1 element of XHTML and have the following style:
h1 {
counter-increment: h1 1;
counter-reset: h2 0;
}
h1:before {
content: "Chapter " counter(h1, upper-latin) " - ";
}
This style information results in the following generated content, highlighted in red color:
