Lazy loading in HTML

HTML

Here is a way to load images or ifrmaes only when they appear in the viewport

<img src="..."> loading="lazy" />

The same works with iframes

<iframe src="..."> title="..." loading="lazy" />

Post a Comment

Previous Post Next Post