HTML and CSS Reference
In-Depth Information
Value: A comma-separated list of
<specific font families> | <generic font families>
Initial value: Determined by user agent
Inherited: yes
Applies to: all elements (except replaced elements)
Supported by: Firefox, Safari, Opera, Internet Explorer
font-size
Indicates the size of the type. Note that sizes refer to the size of the font's em square, not the
size of any particular character within the font.
Value:
<length> | <percentage> | <absolute size> | <relative size> | xx-small |
x-small | small | medium | large | x-large | xx-large | smaller | larger
Initial value:
medium
Inherited: Yes
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
font-style
Used to specify an oblique or italic style within the current font family.
Value:
normal | italic | oblique
Initial value:
normal
Inherited: Yes
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
font-variant
Used to specify a small-caps style within the current font family.
Value:
normal | small-caps
Initial value:
normal
Inherited: Yes
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer