Web features explorer

Lazy-loading images and iframes

Newly available since 2023-12-19
Tags: api html

The loading="lazy" attribute for <img> and <iframe> elements blocks loading the external resource until the user scrolls to that element's part of the page. To learn more, see HTMLIFrameElement: loading property, HTMLImageElement: loading property at MDN.

Compatibility (view on caniuse.com)