font properties


font-family

Example 10.10
Example 10.10 Source:
Example 10.10 Rendered:
Garamond, Times, or serif (generic family)
Arial, Helvetica or sans-serif (generic family)
Courier or monospace (generic family)
Fantasy (generic family)
Cursive (generic family)

font-style

Example 10.11
Example 10.11 Source:
Example 10.11 Rendered:
Normal font-style
Italic font-style
Oblique font-style

font-variant

Example 10.12
Example 10.12 Source:
Example 10.12 Rendered:
This should be rendered in small-caps.
Here we revert to "normal".

font-weight

values: normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
Example 10.13
Example 10.13 Source:
Example 10.13 Rendered:
font-weight can be used to make things bold.