September 2025
Beginner to intermediate
371 pages
5h 55m
English
Text styling is one of the most common applications of CSS.
In this section, we’ll explore a few CSS properties that control basic text styling.
The font-familyproperty sets the font to use for the element’s text. This font is inherited by descendant elements.
font-family can be specified as a single value – the name of the font to use. More commonly, a comma-separated list of fonts is given. The browser will try each font, starting with the first, until a match is found.
Read now
Unlock full access