Chapter 1: Styling Text with CSS

In This Chapter

check.png Understanding modern web design

check.png Creating a CSS document

check.png Defining colors for the web

check.png Setting CSS text properties

check.png Creating styles for a link state

check.png Nesting and grouping styles

check.png Using templates

In Book III, Chapter 2, we break down the role of HTML documents — the basic foundation for web pages. But an HTML page without a style sheet is like a model without a wardrobe. Like a football player without helmet, jersey, and pads. Like a mime without face paint. Like a sumo wrestler without . . .okay, we’ve gone far enough with analogies here. But they illustrate the relationship between HTML and CSS. Without CSS, web pages have no style.

This chapter shows you how to create a cascading style sheet (CSS) file that defines the style and layout of ...

Get Building Websites All-in-One For Dummies, 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.