Why does web content appear as “blocks and squares” before fully loading?

487 views

Why does web content appear as “blocks and squares” before fully loading?

In: 2

4 Answers

Anonymous 0 Comments

When you load a webpage, what you are getting is an HTML text document from a server somewhere. The HTML includes how to download any styling, functionality (scripts), pictures, or other assets. So what you are seeing is the HTML being rendered by your browser before it has enough information to know how it’s really going to look. The HTML will have things like “a picture goes here” so the browser draws a box.

Incidentally this is also why ads load last and move your screen right when you are about to press a button. All of the content on the page will be loaded by the server. The ads will have to make an extra trip. First it will download the script from the website’s server. That script will then make an additional call to download the ad, which can often be quite large.

You are viewing 1 out of 4 answers, click here to view all answers.