Last call for responses to our survey!

How do you use images on your website? What would make it easier?

Please complete our online questionnaire. It should only take a few minutes. We'll collate the responses then share the results.

Thanks for all the input so far. picture element: file type

Lias and Little Puss: two ten-week-old grey tabby kittens

A WebP image will be displayed if WebP is supported, otherwise a JPEG.

Image used:

The art direction example shows how to use the picture element to enable the browser to choose an appropriate image based on viewport width. The sizes example shows how to enable image choice using the srcset and sizes attributes.

View source on GitHub