Chapter 14. Text

Although the Web is rife with multimedia of all types, plain text is still the main medium used to convey messages across the Internet. As with other elements, CSS provides many properties for controlling how your text is rendered in your document, including alignment, letter and word spacing, white-space control, and even the font itself. This chapter covers how to use CSS to format text in your documents.

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.