Learn how to lazy load images in HTML using the native loading="lazy" attribute — no JavaScript required. We cover how it works, browser support, how to prevent layout shift with width and height attributes, and when to reach for the Intersection Observer API for more control.
Practice answering this question with AI feedback: https://interviewmentor.app?utm_sourc...