Web platform features explorer

<img sizes="auto" loading="lazy">

The sizes="auto" attribute for the <img> HTML element reserves layout space for an image before it loads, avoiding some layout shifts. This attribute only applies to images with the loading="lazy" attribute.

Status

Limited availability

Specifications

Browser support

Usage (according to Chrome Platform Status)

~0.334% of page loads. More data at chromestatus.