11 ms·
The HTML IMG tag also has a "lowsrc" attribute, that is sadly deprecated now. There's also a proposal for a loading="lazyload" attribute value to allow images
by kalleboo 5y ago
The HTML IMG tag also has a "lowsrc" attribute, that is sadly deprecated now.
There's also a proposal for a loading="lazyload" attribute value to allow images to load when scrolled into view https://css-tricks.com/a-native-lazy-load-for-the-web-platform/ https://css-tricks.com/a-native-lazy-load-for-the-web-platfo... https://caniuse.com/loading-lazy-attr https://caniuse.com/loading-lazy-attr
- colejohnson66 5y agoA bit late of a reply, but <picture> allows specifying multiple sizes of images. Which one will be downloaded depends on the criteria the developer set (generally based on the page or rendered image dimensions).