Responsive Image Tests | HTML

1. The <img> element with a single image source

Lake

2. The <img> element with a single image source and <figcaption>

Lake
Lake, mountains, boats

3. The <img> element with a single image source and sizing hints

Lake

4. The <img> element with srcset and x-descriptors

Lake

5. The <img> element with srcset, w-descriptors, and a single value for sizes

Lake

6. The <img> element with srcset, w-descriptors, and three values for sizes

Lake

7. The <source> element with single image sources and the media attribute

Lake

8. The <source> element with x-descriptors and the media attribute

Lake

9. The <source> element with the type attribute (file formats: AVIF, WebP, JPG)

Lake

10. The <source> element with both the media and type attributes (file formats: WebP, JPG)

Lake