# The Advanced End

How the browser turns your text into a tree of elements and forgives your mistakes, how templates, slots and custom elements make HTML you can reuse, and how to keep up with HTML as browsers add new features.

Updated: November 14, 2026

## [How the Browser Reads HTML](https://www.ask-codey.com/courses/html-in-depth/topics/html-how-the-browser-reads-html)

1. [How the Browser Parses HTML](https://www.ask-codey.com/lessons/html-how-the-browser-parses-html) (Freelancer): The browser reads your HTML file one character at a time, breaks it into tokens, builds a tree of nodes from them, and quietly repairs your mistakes along the way, so you can tell why a page shows what it shows.

## [Reusable HTML](https://www.ask-codey.com/courses/html-in-depth/topics/html-reusable-html)

1. [Templates, Slots and Custom Elements](https://www.ask-codey.com/lessons/html-templates-slots-and-custom-elements) (Freelancer): Write a layout once with a template and named slots, give a card its own layout with declarative shadow DOM and no JavaScript, and use custom elements such as a star rating from a ready-made script.

## [Keeping Up with HTML](https://www.ask-codey.com/courses/html-in-depth/topics/html-keeping-up)

1. [Keeping Up with HTML](https://www.ask-codey.com/lessons/html-keeping-up-with-html) (Journeyman): HTML grows a little every few months, so learn where its rules are written, how MDN and Baseline tell you whether a feature works in every browser, and how to use a new feature without leaving anyone behind.

## [Exercise: A Reusable Review Card](https://www.ask-codey.com/courses/html-in-depth/topics/exercise-html-reusable-review-card)

1. [Exercise: A Reusable Review Card](https://www.ask-codey.com/lessons/exercise-html-reusable-review-card) (Freelancer): Build Pixel Palace's reviews page with a banner in declarative shadow DOM, a review card layout written once and used four times, and star ratings from a ready-made custom element, then explain two repairs the parser made, and let the tests check it all.

Source: https://www.ask-codey.com/courses/html-in-depth/chapters/html-the-advanced-end
