Responsive images - image formats

Back to the index.

Responsive images



This picture element is supposed to show webp, if that isn't supported png, if that isn't supported either gif. But it only shows gif.

Current source is .

Leaving out type is allowed, but then the browser doesn't check if it supports the format and simply attempts to show the first image.