how to serve webp images with fallback

Solutions on MaxInterview for how to serve webp images with fallback by the best coders in the world

showing results for - "how to serve webp images with fallback"
Elisa
28 Apr 2020
1<picture>
2  <source srcset="img/awesomeWebPImage.webp" type="image/webp">
3  <source srcset="img/creakyOldJPEG.jpg" type="image/jpeg"> 
4  <img src="img/creakyOldJPEG.jpg" alt="Alt Text!">
5</picture>