| FONT PROPERTIES | |||
| Property | Description | Values | Example |
|---|---|---|---|
| font-family | Establish a generic font which might be visible in most browsers. | Serif Sans-serif Monospace Cursive Fantasy |
font-family: {helvica, times, sans-serif;} |
| font-size | Sets the size of a font. | percent pixels em inches |
h1 {font-size: 2em} |
| font-style | Determines whether a font is italicized or not. | italic normal oblique |
h3 {font-style:oblique;} |
| font-weight | Sets the weight of a font. | lighter normal bold bolder and values: from 100 to 900 |
a {font-weight:bold;} |
| font-variant | Sets the text to display whether normal or in small caps. | normal small-caps |
h2 {font-variant:small-caps;} |
| font | Is used to apply all of the font properties in a single declaration | font-weight font-style font-variant font-size font-family |
p {font: bolder oblique small-caps 1.5em arial, verdana, sans-serif;} |