Lesson 8. Using CSS to Style a Site

In the past few lessons, I’ve discussed how to lay out web pages using Hypertext Markup Language (HTML) tags. In this lesson, I describe how you can create complex pages using Cascading Style Sheets (CSS). You’ve already learned about the advantages CSS can provide for formatting smaller snippets of text. In this lesson, you’ll learn how to use CSS to control the appearance of an entire page.

The following topics are covered:

Image Creating style sheets and including them in a page

Image Linking to external style sheets ...

Get Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day, Covering HTML5, CSS3, and jQuery, 7th 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.