Chapter 1 What Are HTML and CSS? p. 1 --
How HTML and CSS Work Together p. 6 --
Chapter 2 Creating a Website on Your Computer p. 9 --
Using a Text Editor p. 10 --
Using Advanced Tools p. 11 --
Website Directory Structures and File Extensions p. 12 --
Using CodePen for Quick Tests p. 15 --
Chapter 3 HTML Syntax p. 17 --
How HTML Tags Work p. 18 --
Structuring an HTML Page p. 22 --
What Is Semantic Markup? p. 24 --
Chapter 4 Basic HTML Elements p. 25 --
HTML Text Formatting p. 26 --
Paragraphs and Headings p. 26 --
Quoting a Block of Text p. 29 --
Formatting Text Inline p. 30 --
Internal vs. External Linking p. 38 --
Relative vs. Absolute Linking p. 39 --
Other Types of Links p. 41 --
Chapter 6 Structure and Layout with HTML p. 45 --
Block vs. Inline Elements p. 49 --
Building a Blog Article Layout p. 54 --
How Does Media Work on the Web? p. 58 --
Adding Images to a Page p. 60 --
Responsive Images: Considering Different Devices and Connections p. 63 --
Storing Multimedia Files p. 72 --
Chapter 8 Tables and Other Structured Data Elements p. 75 --
Description Lists p. 81 --
Why Is Structured Data Important? p. 83 --
Chapter 9 Web Forms p. 87 --
Interacting with Webpages p. 88 --
How a Web Form Works p. 89 --
Components of an HTML Form p. 90 --
Setting Up a Basic Form p. 97 --
Creating Select Boxes p. 98 --
Creating Radio Buttons p. 99 --
Creating Checkboxes p. 100 --
Creating Email Forms p. 101 --
Special Field Types p. 102 --
Validating Forms p. 106 --
Chapter 10 Advanced and Experimental Features p. 109 --
It's All About Browser Support p. 110 --
Advanced Elements p. 113 --
Experimental Features p. 116 --
Chapter 11 Introduction to CSS p. 119 --
What Are Styles? p. 120 --
What Does Cascading Mean? p. 121 --
Using CSS on Your Webpage p. 124 --
External Style Sheets p. 127 --
Commenting Your CSS Code p. 128 --
Chapter 12 Targeting Elements p. 129 --
Targeting Elements by Tag p. 130 --
Targeting Elements by Class p. 131 --
Cascade, Inheritance, and Parent-Child Relationships p. 134 --
Selecting Elements by their Relationships p. 136 --
Specificity and Precedence in the Cascade p. 139 --
Targeting Elements with Specific Attributes p. 140 --
Advanced Targeting p. 141 --
Chapter 13 Styling Text p. 145 --
Including External Fonts with @font-face p. 150 --
Formatting Text p. 156 --
Formatting for Readability p. 158 --
Chapter 14 Color in CSS p. 163 --
How Computer Monitors Work p. 164 --
Representing Color in CSS p. 164 --
Border Property p. 172 --
Chapter 15 Using CSS for Page Layout p. 175 --
Padding and Margins p. 179 --
Creating Layers and Overlapping Elements p. 190 --
Creating an Overlay Using z-index p. 192 --
A Note About Creating Layouts p. 193 --
Chapter 16 Layouts with CSS Grid and Flexbox p. 195 --
Modern Solutions for an Important Problem p. 196 --
Using CSS Grid Layout p. 208 --
Browser Support p. 212 --
Chapter 17 Responsive Design and Media Queries p. 215 --
Defining Media Queries p. 216 --
Responsive Layouts p. 217 --
Making a Full-width Layout Responsive p. 220 --
Not Just for Screen Widths p. 225 --
Chapter 18 CSS Transformations and Animations p. 229 --
CSS Transitions p. 230 --
CSS Transformations p. 233 --
Chapter 19 CSS Variables p. 241 --
What Are Variables? p. 242 --
Simplifying Styles with Variables p. 246 --
Calculations with Variables p. 248 --
Chapter 20 CSS Preprocessors p. 251 --
How CSS Preprocessors Work p. 252 --
Getting Started with Sass p. 253 --
Chapter 21 Getting Your Website Online p. 263 --
Choosing Hosting and a Domain p. 264 --
Pre-Launch Check p. 268 --
Making Your Site Live p. 269 --
Testing Your Site p. 272 --
Chapter 22 Testing Your Website p. 273 --
Why Test Your Website? p. 274 --
Validating Markup p. 274 --
Browser Testing p. 276 --
Troubleshooting with Chrome Developer Tools p. 281 --
Chapter 23 Improving Website Performance p. 285 --
What Do We Mean by Performance? p. 286 --
Know How Your Website Performs p. 287 --
Performance Testing Tools p. 288 --
Minify HTML and CSS Files p. 291 --
Optimize Your Images p. 293 --
Load Your Critical CSS First p. 296 --
Chapter 24 Web Accessibility p. 301 --
Including as Many People as Possible p. 302 --
What You've Done so Far p. 304 --
Additional Tags and Attributes p. 305 --
Accessibility Tests and Validation p. 307 --
Finding Your WCAG Rating p. 311 --
Chapter 25 Going Beyond HTML & CSS p. 313 --
Common JavaScript Libraries p. 315 --
Version Control p. 318 --