September 2001
Intermediate to advanced
640 pages
31h 42m
English
font
The font property is a shorthand property for
specifying all the available font controls in a single rule. Values
should be separated by character spaces. In this property, the order
of the enclosed values is important (although not every value needs
to be present) and must be listed as follows:
{ font: weight style variant size/line-height font-name(s) }A valid font value must contain the size and the font name, in that order; otherwise, the value should be ignored (and is by most browsers).
font-style|font-variant|font-weight|font-size|line-height|font-familyEM {font: 12pt Times, serif}
H1 {font: oblique bolder 18pt Helvetica, sans-serif}All elements
Yes
Read now
Unlock full access