Chapter 10. Formatting Text with Style Sheets

Ready to start formatting your Web page with style sheets? This chapter shows you how to apply formatting to your HTML elements using style sheet properties. You can emphasize words on your page by making the words bold, italic, capitalized, or a different size. By adding color, either to text or as a background, you can make elements on your page stand out or match your Web site's theme. You can also use style sheet rules to change the style and color of links.

Formatting Text with Style Sheets

Add Bold to Text 156

Italicize Text 157

Indent Text 158

Change the Font Size 159

Change the Font 160

Change the Text Case 162

Change Text Alignment ...

Get Creating Web Pages Simplified 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.