Can I just use tag src and alt to serve WebP files vs using ?
I’m in the process of converting images in my website to WebP image format. If the system is unable to serve the file, it will use the PNG version. I specify both WebP and PNG format in the ‘src’ and ‘alt’ element of ‘img’ as follow: