You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode HTML, CSS and JavaScript: why one web page needs many requests

What happens when you type a web address and press Enter

Rendering: how your browser turns HTML and CSS into the page you see

A website never sends a picture of its page. Your browser gets a long text and a few files. Then it draws every pixel of the page itself.

  1. 1 A picture of the page would fit one screen only. From one description, a phone makes a narrow page, a laptop a wide one, and a browser can even read it aloud.one descriptionnarrowMoonMoonwide"Moon. The Moon isthe only naturalsatellite of Earth."

    A picture of the page would fit one screen only. From one description, a phone makes a narrow page, a laptop a wide one, and a browser can even read it aloud.

  2. 2 So your phone draws the page itself. Its screen is a grid of tiny dots called pixels, and every one needs a color.pixelsyour browserWhich colorfor each one?

    So your phone draws the page itself. Its screen is a grid of tiny dots called pixels, and every one needs a color.

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

You finished the comic Back to the comic

Share this comic

More comics