AVIF, WebP & <picture> Negotiation Playground

Your own browser saves the winners’ photo as JPEG, WebP and AVIF at your quality; a real <picture> picks its file for your width and screen density. An…

Why it matters

Images are almost always the heaviest part of a page, and the hero photo is often the LCP element. Modern formats and the right width can cut most of its bytes with no visible difference; too high a quality and sources in the wrong order throw all of that away.

The key idea

The browser chooses from the list you write, in order

Common mistakes

Try it in this playground