About the Authors xvii | |
About the Tech Reviewer xix | |
Acknowledgments xxi | |
Introduction xxv | |
The Promise of CSS | p. 1 |
The Advantages of Using CSS for Style | p. 1 |
Semantic (X)HTML: Markup with Meaning | p. 2 |
What Is Semantic Markup? | p. 2 |
How Does Writing Semantic Markup Help You in the Real World? | p. 3 |
Creating Semantically Rich (X)HTML Markup | p. 4 |
Avoiding Nonstructural Tags | p. 5 |
Avoiding _Divitis_ and _Classitis | p. 5 |
Choosing Your Markup Language and DOCTYPE | p. 7 |
HTML vs. XHTML: Why the Decision Does_and Doesn_t_Matter | p. 7 |
DOCTYPE: The Most Underappreciated Tag of All | p. 8 |
The Three Layers of a Modern Web Document | p. 9 |
Summary | p. 10 |
p. 11 | |
Adding Style to Your (X)HTML Document | p. 11 |
The Tag | p. 11 |
Using Multiple Style Sheets | p. 12 |
The style element | p. 13 |
Creating a Style Sheet | p. 14 |
Declarations | p. 14 |
Selectors | p. 14 |
Element Selectors | p. 15 |
Class Selectors | p. 15 |
ID Selectors | p. 17 |
vii (X)HTML_s Family Tree | p. 17 |
Descendant Selectors | p. 18 |
Child Selectors | p. 19 |
Adjacent Sibling Selectors | p. 20 |
Attribute Selectors | p. 20 |
Presence of an Attribute | p. 21 |
Exact Attribute value | p. 21 |
Partial Attribute Values | |
Table of Contents provided by Publisher. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.