HTML and CSS Reference
makes all level-2 header text italic. Netscape 4 supported only the it-
alic value for font-style ; all current browsers support both values, al-
though it is usually difficult to distinguish italic from oblique.
188.8.131.52. The font-variant property
Use the font-variant property to display text in small capitals. The de-
fault value for this property is normal , indicating the conventional version
of the font. Otherwise, give the property the value small-caps to select
a version of the font in which the lowercase letters have been replaced
with small capital letters.
All the current browsers support this property. Internet Explorer ver-
sions 4 and 5 incorrectly displayed small-caps as all uppercase letters.
184.108.40.206. The font-weight property
The font-weight property controls the weight or boldness of the letter-
ing. The default value of this property is normal . You may specify bold
to obtain a bold version of a font or use the relative bolder and lighter
values to obtain a version of the font that is bolder or lighter than the
parent element's font.
To specify varying levels of lightness or boldness, set the value to a mul-
tiple of 100, between the values 100 (lightest) and 900 (boldest). The
value 400 is equal to the normal version of the font, and 700 is the same
as specifying bold .
The current browsers fully support this property.