Article

font-weight

Specifies the font weight for the text in an element.

Overview

Use the font-weight style to specify how thick or thin a font looks.

Values for font-weight

black

A font weight that is thicker than heavy.

bold

A font weight that is thicker than the default.

heavy

A font weight that is thicker than bold.

light

A font weight that is slightly thinner than the default.

medium

A font weight that is slightly thicker than default.

regular

The default font weight.

semibold

A font weight that is slightly thicker than medium.

thin

A font weight that is thinner than the default.

ultralight

A font weight that is thinner and lighter in color than the default.

Elements that Use font-weight

See Also

Font Styles

font-family

Specifies the font used for the text in an element.

font-size

Specifies the font size for the text in an element.