# How a Page Loads

A slow page loses visitors before it finishes loading. You will watch a page load in the developer tools, load scripts without holding up the page, and use the head to add an icon, a stylesheet and hints that get the important files sooner.

Updated: November 15, 2026

## [Page Loading](https://www.ask-codey.com/courses/html-in-depth/topics/html-page-loading)

1. [How a Page Loads](https://www.ask-codey.com/lessons/html-how-a-page-loads) (Journeyman): Watch the browser read a page from top to bottom and fetch every file it names, then measure the page's size and speed the way a visitor on a phone feels them.
2. [Loading Scripts: defer, async and Modules](https://www.ask-codey.com/lessons/html-loading-scripts-defer-and-async) (Journeyman): Load a script without holding up the page, and choose defer, async or type="module" by what the script needs.
3. [Icons, Stylesheets and Resource Hints](https://www.ask-codey.com/lessons/html-head-icons-stylesheets-and-hints) (Journeyman): Use the head's link tags to give a page its tab icon and its stylesheet, and to tell the browser early about the few files it needs first.

## [Exercise: Tune Up a Slow Page](https://www.ask-codey.com/courses/html-in-depth/topics/exercise-html-tune-up-a-slow-page)

1. [Exercise: Tune Up a Slow Page](https://www.ask-codey.com/lessons/exercise-html-tune-up-a-slow-page) (Journeyman): Fix the Movie Night Club page's HTML so it loads faster on a phone, and prove it with the Network panel, a Lighthouse report and the tests.

Source: https://www.ask-codey.com/courses/html-in-depth/chapters/html-how-a-page-loads
