loading
The attribute directs the user agent to fetch a resource immediately or to defer fetching until some conditions associated with the element are met, according to the attribute's current state. 2.6.7 Lazy loading attributes
Links about loading
Native image lazy-loading for the web!
In this post, we’ll look at the new loading attribute which brings native <img> and <iframe> lazy-loading to the web!. For the curious, here&...
Tags:Native lazy-loading for the web
This post covers the loading attribute and how it can be used to control the loading of images and iframes.
Tags:
Code sample
<img data-src="myimage.jpg" loading="lazy" />