Created
January 28, 2022 17:54
-
-
Save henshaw/ba9017c3b5f6935059b2ecd76f45250d to your computer and use it in GitHub Desktop.
Picture element supporting WebP image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<picture> | |
<source srcset="image.webp" type="image/webp"> | |
<img src="image.jpg" alt="description"> | |
</picture> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referenced on AVIF, a next-gen image format for the web, will have to wait in line behind WebP