how to add lazy loading in html
snippet in html

html lazy loading images

user3107

<img loading="lazy" src="https://via.placeholder.com/320x200" alt="Lazy loaded image" />

how to add lazy loading in html

user5664

lazy loading in html

<img src="myimage.jpg" loading="lazy" alt="..." />
<iframe src="content.html" loading="lazy"></iframe>