Home > shorts > Native lazy loading via attribute for images

Native lazy loading via attribute for images


The loading attributing on images gives authors control over when the browser should start loading the resource.

<img src="celebration.jpg" loading="lazy" alt="..." />
© 2021, Andrew Losseff