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>
Discussion 0
Join free to post in the discussion.
Related questions
- File format for a scalable logoGraphic Designer
- A logo with a transparent backgroundGraphic Designer
- Saving a JPEG again and againGraphic Designer
- Icons for a websiteGraphic Designer
- Copying a layer quicklyGraphic Designer
- Resetting black and whiteGraphic Designer
- Dropping a white background on a scanGraphic Designer
- Using a light flare on blackGraphic Designer