Question

Looking at the source for Skype.com, I cannot find any <link rel="shortcut icon"> tag (or anything similar), and yet, the icon is clearly showing up in FireFox. Where are they defining the favicon?

Was it helpful?

Solution

Unless otherwise defined, the browser will look for the favicon in the root with the filename favicon.ico

As far as I know you need the exact name favicon.ico for the browser to detect it. That might be different in other browsers, but if you want to use .png instead of .ico for some reason it would be safer to call it out manually for browser compatibility even if the newer browsers are seeing it.

OTHER TIPS

By default browsers will look in the root web directory for favicon.ico when a path is not explicitly specified by a <link> tag.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top