Is the image loading asynchronous or Synchronize?

is it asynchronous or Synchronize to load pictures in the way of ? Will it hinder the resolution of the following DOM?

Mar.20,2021

Modern browsers are asynchronous.


Asynchronous load
does not block.
so when you see the long picture web page, the following text will come out first, and then the picture will be loaded back, so it will jump


Brother if you are worried about this problem, you can bind a UI event in JS, window.onload = function () {} write all the JS code into your problem and you don't have to worry about it.


you can first take up space for the picture. The picture is loaded lazily to optimize the performance of the web page

.
Menu