|
Font Properties Font |
![]() |
||
Font Properties
Font Family
Font Style
Font Variant
Font Weight
Font Size
Font
Appearance:
font: <value>
Possible Values:
[ <font-style> || <font-variant> || <font-weight> ]? <font-size> [ / <line-height> ]? <font-family>
Initial Value:
Not defined
Applies to:
All elements
Inherited:
Yes
The font property may be used as a shorthand for the various font properties, as well as the line height. For example:
P { font: italic bold 12pt/14pt Times, serif }specifies paragraphs with a bold and italic Times or serif font with a size of 12 points and a line height of 14 points.