In this Chapter I’ll demonstrate the CSS attributes that are available for styling the text portions of an HTML document. I’ll start with choosing the font and the various font characteristics and then the text formatting capabilities that you can use. I’ll cover spacing and alignment and ways to control line and page breaks. I’ll also explain a few miscellaneous topics such as color, opacity, and cursor, which are not specific to text formatting.
Fonts
The most basic factor when formatting text is choosing the font. There is a seemingly endless collection of available ...