Version: Level 1/Expanded in Level 2
Compability: IE4+ N4+
The font property allows you to combine together in only one declaration any, or all of six individual CSS properties related to font. Each of these six individual properties is discussed on its own page. This property is inherited.
In addition, effective with Level 2, the font property can also be used to declare six values that set system font settings.
p { font: italic small-caps 600 12pts/18pts Courier; }
p { font: italic small-caps 600 12pts/150% Courier; }
p { font: italic small-caps 600 12pts/1.5 Courier; }
p { font: italic small-caps 600 12pts/18pts Courier; }
p { font: /18pts serif; }
p { font: oblique 100 24pts; }Note the forward slash before / line-height. It must appear and is used in association with the font size. The use of the / is demonstrated in these code examples.