12.6. Summary

This chapter taught you the basics of CSS—how styles are attached to a document, how they are best used, what the different levels of CSS are, and how the cascade in Cascading Style Sheets works. You learned the various ways to embed and define styles and more about the separation between content and formatting that CSS can provide. Chapter 13 delves into the ins and outs of style definitions. Subsequent chapters in this part of the book will show you how styles are best used with various elements.

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP 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.