Chapter 10. Text Colors and Effects

<feature><title>What You’ll Learn in This Hour:</title>
  • Additional ways to specify the color of text

  • How to use color effectively in web design

  • How to add or remove underlines from your text

  • How to add lines through or over your text

  • Which CSS property enables you to change the case of your letters

  • How to control the spaces between letters and words

  • How to control line breaks and duplicate the HTML <pre> and <nobr> tags

  • How to adjust the spacing between lines

Use of Cascading Style Sheets can transform a plain, boring page of text into a visual treat, without even any graphics. The CSS specifications define ways to enhance your textual content visually, from changing the colors to adding strikethrough lines. In addition, ...

Get Sams Teach Yourself CSS 24 in Hours 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.