01Chapter 1: The four building blocks of a pageMost marketing and business pages follow the same plan. A visitor sees a header at the top, a hero right below it, a run of content sections, and a footer at the bottom. This chapter names each block, explains what it is for, and shows how each one maps to HTML. Later chapters build each block in de3 min read
02Chapter 2: Semantic elements: header, nav, main, section, footerThis chapter assumes you can write basic HTML tags and attributes, and that you can open a page in a browser and inspect it with developer tools. It builds on the four-part page model from the previous chapter.3 min read
03Chapter 3: Headings give the page an outlineThis chapter assumes you know basic HTML tags and attributes, and that you can open a page in a browser and use its developer tools. You will learn how heading elements form an outline, how to keep that outline logical, and how to check it.3 min read
04Chapter 4: The header: identity and orientationThis chapter assumes you know basic HTML tags and attributes, basic CSS selectors and properties, and how to inspect a page with your browser's developer tools. It covers what belongs in a site header, how to mark it up, and the mistakes that most often break it.3 min read
05Chapter 5: Navigation inside the headerThis chapter assumes you know basic HTML tags and attributes, basic CSS selectors and properties, and how to inspect a page in your browser's developer tools. It covers the primary navigation inside the site header: how to mark it up, how to style it, and the errors that come up most often.3 min read
06Chapter 6: The hero: the first message a visitor seesThis chapter assumes you know basic HTML tags and attributes, basic CSS selectors and properties, and how to inspect a page in your browser's developer tools. It also assumes you have read the chapters on semantic elements and headings.3 min read
07Chapter 7: Content sections: organizing the main messageThis chapter assumes you know basic HTML tags and attributes, basic CSS selectors and properties, and how to inspect a page in your browser's developer tools. It also assumes you have seen the page skeleton from earlier chapters, with its header, main, and footer.3 min read
08Chapter 8: The footer: closing information and secondary linksThis chapter covers the footer, the last region of the page. It assumes you know basic HTML tags and attributes, basic CSS selectors and properties, and how to inspect a page in your browser's developer tools. You should also have read the chapters on semantic elements and the header, because the fo3 min read
09Chapter 9: Laying out the page with grid and flexboxThis chapter assumes you know basic HTML tags, CSS selectors and properties, and how to inspect a page in your browser's developer tools. You will use CSS grid and flexbox to position the header, main, and footer. The footer will stay at the bottom of short pages.3 min read
10Chapter 10: Adapting the layout to screen sizeThis chapter assumes you know basic HTML and CSS selectors, and that you can open a page in a browser and use its developer tools. You should also have seen the page skeleton, with its header, hero, content sections, and footer, and the grid and flexbox basics from the previous chapter.3 min read
11Chapter 11: Landmarks, accessible names, and skip linksThis chapter assumes you can write basic HTML and CSS and that you have used the browser developer tools. It also assumes you know the semantic elements from earlier chapters: header, nav, main, section, and footer. Here you will see how those elements help keyboard and screen reader users3 min read
12Chapter 12: Hero images without slowing the pageThis chapter assumes you can write basic HTML and CSS and can open your browser's developer tools. It builds on the hero section from the earlier chapter, which has a heading, supporting text, a call to action, and an image. Here the focus is the image. It is usually the largest file on the page, an3 min read
13Chapter 13: Putting the whole page togetherThis chapter combines the parts from earlier chapters into one working page. It assumes you know basic HTML tags, CSS selectors and properties, and how to open a page in a browser and use its developer tools.2 min read