html lazyload attribute code example
Example 1: lazy loading attribute
<img src="image.jpg" alt="..." loading="lazy">
Example 2: how to add lazy loading in html
lazy loading in html
<img src="myimage.jpg" loading="lazy" alt="..." />
<iframe src="content.html" loading="lazy"></iframe>