Images with different sizes and quality?

You provide different images for different sizes. HTML already has full support for this:

<img> elements support this via the srcset property (which allows extra config via the sizes property)

And for more granular control, the <picture> element lets you provide a series of images for different sizes:

Overview on responsive images here:

3 Likes