How it works · 35 of 36 Foundation

What happens when you type a web address and press Enter?

What happens after Enter

Typing a web address: When you press Enter, the browser finds the site's address with DNS, opens a connection, seals it with HTTPS, asks for the page with HTTP and receives it; each step is a round trip across the network.

Loading the animation…

Say it like this When you press Enter, the browser finds the site's address with DNS, opens a connection, seals it with HTTPS, asks for the page with HTTP and receives it, each step a round trip across the network.

Under the hood — for builders
Real case: how long the first byte takes
Time to first byte covers every step in the animation: DNS, connecting, sealing and the server's reply. Across the web's mobile pages in 2024:
Counting the round trips
Each block is one trip there and back. At 39 ms per trip (Mumbai to Singapore), the first byte arrives after:
Which HTTP your pages use
Most pages already use HTTP/2; HTTP/3 is growing. Share of mobile page loads in 2024:
Measure it
Browser developer tools (F12) → Network → click the page → Timing: it lists DNS lookup, initial connection, SSL (the seal) and waiting for the server, in ms.
Watch out
A slow first byte is not always the network: if DNS, connection and SSL are quick but "waiting" is long, the server itself is slow to build the page.
Sources
HTTP Archive Web Almanac 2024, chapters 9 and 18. RFC 9293, RFC 8446, RFC 9000. Read 28 Nov 2026.

What happens in the loading a web page animation, step by step?

  1. You type news.example and press Enter. Everything this course covered now happens in a fraction of a second.
  2. Step 1: find the address. The browser asks a DNS resolver, which answers with the server's IP address. One round trip.
  3. Steps 2 and 3: open a line to the server, then seal it with HTTPS so nobody on the way can read or change it. Two more round trips.
  4. Your turn: then the browser asks for the page. Counting from Enter, how many round trips before its first byte arrives?
  5. Newer HTTP/3 opens and seals the line in one step, saving a round trip. Then the page pulls in dozens more files, often from a nearby CDN.
  6. Find the address, open a line, seal it, ask, receive. Next: why can the same app run on Wi-Fi, 5G or cable?

What everyday example explains loading a web page?

Find the address, open a line, seal it, ask, receive.

Why should a team care about loading a web page?

A slow page can be slow at any of these steps; knowing them tells you whether to blame DNS, distance or the server.