Skip to content
RED SAG Skills
hard20 pts · first answer countsdesign-softwarefile-formatsweb-images

Using AVIF safely

A developer wants to serve AVIF images on a site but keep a fallback for any client that lacks support. Which HTML pattern does this?

<picture>
  <source srcset="hero.avif" type="image/avif">
  <source srcset="hero.webp" type="image/webp">
  <img src="hero.jpg" alt="Product on a desk">
</picture>
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions