Skip to main content

2 docs tagged with "lazy-loading"

View all tags

HTML Lazy Loading Images

Learn how to lazy load images in HTML with the loading attribute. Understand which images to lazy load and which not to, protect your main image, reserve space with width and height, lazy load iframes, use IntersectionObserver, and measure the results on CodeHarborHub.

Lazy Loading for Performance

A performance-first guide to lazy loading: which images, iframes and videos to defer, which to never defer, how to avoid layout jumps, and how to audit a page. Includes a scroll lab and a live lazy-loading checker.