Denis Denis - 1 month ago 22
HTML Question

Firefox doesn't show favicon

I created favicon.ico file and declared it in my HTML head tag:

<link type="image/x-icon" href="favicon.ico" rel="icon" />
<link type="image/x-icon" href="favicon.ico" rel="shortcut icon" />


IE 8 and Opera handle it great but FireFox does not even try to load it (as I see from my Fiddler debug proxy). I've tried many different type (image/ico etc.) and href params but no luck.

What did I miss?

Answer

Like most things in the browser, favicons (or lack thereof) are common candidates for caching.

Try clearing your browser cache.

In Mozilla Firefox, the keyboard shortcut to "Reload (override cache)" is

  • Ctrl + F5 OR
  • Ctrl + Shift + R