picture tags supporting webp code example
Example: safe webp image usage html
<picture>
<source srcset="myimage.webp" type="image/webp">
<img src="myimage.png" alt="My image">
</picture>
<picture>
<source srcset="myimage.webp" type="image/webp">
<img src="myimage.png" alt="My image">
</picture>