Search code examples
htmlgoogle-chromefavicon

Favicon not coming in chrome


Here is a site we are currently developing. After placing favicon and linking it appropriately, it is not showing up in chrome. However its coming up in Firefox.

Can someone point out the silly mistake I had made :)

http://us.accept.kia.eu/us/models/kia-sorento-2014/


Solution

  • In your code <html> tag appears twice, once at the top

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us"> (you can remove this line)
    

    and second inside conditional fragment:

    <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js " lang="en" country="us">  <!--<![endif]-->
    

    It appears Chrome can't handle this issue correctly and renders it twice. I believe when you fix this problem removing marked line, favicon will appear.