medium10 pts · first answer countshtml-cssimagesperformance
Serving AVIF with a fallback
How does the browser handle this markup?
<picture> <source srcset="hero.avif" type="image/avif"> <source srcset="hero.webp" type="image/webp"> <img src="hero.jpg" alt="Dubai skyline"> </picture>
Discussion 0
Join free to post in the discussion.
Related questions
- What the main element is forFrontend Developer
- article versus sectionFrontend Developer
- Link or buttonFrontend Developer
- What type="email" gives youFrontend Developer
- Why <!DOCTYPE html> mattersFrontend Developer
- The lang attributeFrontend Developer
- Width on a spanFrontend Developer
- Caption for a chart imageFrontend Developer