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" />
Explore other pages
- multiple
Enables form controls to accept one or more values.
- lch()
LCH has the same L axis as Lab, but uses polar coordinates C (chroma) and H (hue).
- position: sticky
Makes an element stick.
- nav
Represents a section of a page that links to other pages.