Text Spacing
CSS provides several tools for adjusting the space between words or
characters in text. Adding space within a line is another way to affect
the character or color of a block of text. For example, adding a little
extra space between letters is a common technique for calling more
attention to a headline or the first line of text on a page. This section
introduces the letter-spacing
, word-spacing
, and white-space
properties.
Get Web Design in a Nutshell, 3rd Edition 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.