# sizes

*noun*

say it: **“SYZE-iz”** **/ˈsaɪzɪz/**

An image attribute that tells the browser how wide the picture will appear at different screen widths, so it can pick the right file from srcset.

## What is **`sizes`**?

**`sizes`** — An attribute describing an image's expected rendered width under different conditions.

## In a sentence

- “The **sizes** value says the photo fills the screen on phones and takes half of it on wide screens.”

Level: Journeyman · [More HTML terms at this level](https://www.ask-codey.com/glossary?category=html&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/sizes
