Hour 11. Custom Backgrounds and Colors

Nearly every example Web page in Hours 1 through 10 has a white background and black text. In this hour, you'll find out how to make pages with background and text colors of your choosing. You'll also discover how to make your own custom background graphics and how to let the background show through parts of any image you put on your Web pages.


The World Wide Web Consortium—the group that created the HTML 4 standard—recommends that you control the colors on your Web pages using style sheets instead of the regular HTML tags discussed in this hour.

In Hour 16 you'll learn all about using style sheets and why they are officially recommended. However, style sheets only work in Netscape Navigator 4 ...

Get Sams Teach Yourself HTML 4 in 24 Hours, Fourth 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.