Personal AVIF experiment

I’m trying to see if the browser supports avif. If it does, an image of a demon provided by my granddaughter displays. If not, it shows my mousetoon honey logo. Hey, they’re what I have.

Fallback image.

The html looks like this:

<picture>
<!– use if browser supports AVIF –>
<source type=”image/avif” srcset=”IMG_2027.avif”>

<!– use if browser doesn’t support AVIF –>
<img alt=”Fallback image.” src=”HoneyLogo.jpg”>
</picture>