The Animated Portable Network Graphics (APNG) file format is an extension to the Portable Network Graphics (PNG) specification. It allows for animated PNG files that work similarly to animated GIF files while supporting 24-bit images and 8-bit transparency not available for GIFs. It also retains backward compatibility with non-animated PNG files., see the Wikipedia webpage.
To detect the browser APNG capabilities we can use this source code.
Create a new HTML5 file and into the head tag and add this source code:

Into the body tag section use this script code:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.