lazy load images websites code example
Example 1: html lazy loading images
<img loading="lazy" src="https://via.placeholder.com/320x200" alt="Lazy loaded image" />
Example 2: how to make images load as you scroll down
<img loading="lazy" src="https://example.com" />