Sets the font size, which can be specified either in absolute or relative units.
p { font-size: 12pt }| Property | Value | Unit Type | Example |
| font-size: | 12pt | Absolute | The quick brown fox jumps over the sleazy dog. |
| font-size: | 12px | Absolute | The quick brown fox jumps over the sleazy dog. |
| font-size: | medium | Absolute | The quick brown fox jumps over the sleazy dog. |
| font-size: | smaller | Relative | The quick brown fox jumps over the sleazy dog. |
| font-size: | normal | Relative | The quick brown fox jumps over the sleazy dog. |
| font-size: | larger | Relative | The quick brown fox jumps over the sleazy dog. |
| font-size: | 50% | Relative | The quick brown fox jumps over the sleazy dog. |
Absolute size keywords: xx-small, x-small, small, medium, large, x-large, xx-large.