Chapter 11. Formatting Text with Style Sheets

Ready to start formatting your Web page with Cascading Style Sheets, or CSS? This chapter shows you how to apply formatting to your HTML elements using style sheet properties.

Formatting Text with Style Sheets

Add Bold to Text 202

Italicize Text. 203

Indent Text. 204

Change the Font Size 205

Change the Font 206

Change the Text Case. 208

Change Text Alignment. 209

Control Line Spacing. 210

Control Letter Spacing. 211

Add Color to Text 212

Add a Background Color to an Element 213

Add a Background Image to an Element 214

Add a Border 216

Change Link Colors. 218

Change Link Hover Effects. 220

Change Bullet or Number Styles. 222

Customize Form Elements. 224 ...

Get Teach Yourself VISUALLY™ HTML and CSS 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.