Chapter 1 Making a Start with CSS

A web page consists of markup—HTML or XHTML that describes the meaning of the content on the page—and CSS (Cascading Style Sheets) that tell the browser how the content should be displayed in browsers and other user agents that need to display it. CSS tells the browser everything from the layout of the page to the colors of your headings. In this chapter, whose format differs to the rest of the book, I’ll explain the basics of CSS syntax and how to apply CSS to your web pages. If you’re experienced with CSS, feel free to skip this chapter and start with the solutions in Chapter 2. This book is not a CSS tutorial; rather, it’s a collection of problems and solutions to help you perform tasks in CSS. If you’re ...

Get The CSS3 Anthology, 4th 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.