Search code examples
htmlgoogle-chromefavicon

Favicon is not displaying in google chrome


I have a html site.The issue is favicon not working in chrome but it worked well in Firefox & Safari.

Anyone can help me to get rid of this issue?

<link rel="shortcut icon" type="images/ico" 
href="http://www.example.com/images/favicon.ico" />

Solution

  • Have a look at this question: Favicon not showing up in Google Chrome

    1) Clear your cache. http://support.google.com/chrome/bin/answer.py?hl=en&answer=95582 And test another browser, lets say safari. How did you import the favicon?

    2) How you should add it:

    Normal favicon:

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

    PNG/GIF favicon:

    <link rel="icon" type="image/gif" href="favicon.gif" />
    <link rel="icon" type="image/png" href="favicon.png" />
    

    3) Another thing could be the problem that chrome can't display favicons, if it's local (not uploaded to a webserver).