image

© Risto Viita/Shutterstock

chapter7

Styling Content with Cascading Style Sheets

USING HTML, DEVELOPERS LAY out content within a webpage, specifying headers, paragraphs, tables, images, and more. For years, developers would say that HTML “formats a webpage.” It’s preferable to say that HTML specifies the webpage elements and layout, and cascading style sheet attributes specify the actual formatting. This chapter takes a detailed look at cascading style sheets, or CSS. In Chapter 8, you will continue to drill down into additional formatting capabilities. That said, you have actually been using CSS attributes throughout this book’s first six chapters! ...

Get Introduction to Web Development Using HTML 5 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.