Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Is anyway here experienced in animating a favicon?

Not sure if it is possible to have a favicon animated in the browser tab, but if it is, I'd like to know how.

1 Answer

Codin - Codesmite
Codin - Codesmite
8,600 Points

It is possible but currently as far as I know only supported by firefox.

<link rel="shortcut icon" href="favicon.ico"> 
<link rel="shortcut icon" href="favicon.gif">

The above should work if placed in the head of your html file, then just add favicon.gif and favicon.ico to your root directory.

The first line is a fallback for browsers that do not support .gif files as favicons and only display single frame .ico

*edit - You may need to clear your browser cache to see it work due to the old favicon of the website being cached in your bookmarks.

Also something cool that I saw a while ago that might be of interest to you: http://www.p01.org/releases/DEFENDER_of_the_favicon/

That's awesome thank you! Also that Defender thing was amazing!