Web platform features explorer

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

The sizes="auto" attribute for the <img> HTML element determines the layout size for the image based on computed layout size when choosing a source from the srcset. This attribute only applies to images with the loading="lazy" attribute.

Status

Limited availability

Specifications

Browser support

Developer signals

Usage (according to Chrome Platform Status)

~0.825% of page loads. More data at chromestatus.com.