How do I lazy load an image in HTML?
Next, to lazy load a simple img element, all you need to do in your markup is: <img src="placeholder. jpg" data-src="image-to-lazy-load.
Should I lazy load images?
You should always use lazy loading for the images below the fold. As we explained, lazy loading will reduce the real and perceived loading time. User experience will benefit from it — and you users will thank you.