网站图标未显示在Google Chrome浏览器中 [英] Favicon not showing up in Google Chrome browser
本文介绍了网站图标未显示在Google Chrome浏览器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
出于某种原因,我的网站图标未显示在我的Chrome标签上.从我已阅读的所有文章中,我正在正确地编写代码.它确实可以在Firefox中使用.我还清除了缓存并尝试了隐身窗口,但仍然看不到它.
For some reason my favicon is not showing up on my chrome tab. From all the articles I have read I am writing the code correctly. It does work in Firefox. I also cleared my cache and tried an incognito window and am still not seeing it.
当我去:本地主机:8080/favicon.ico我确实看到了收藏夹图标.
When I go to: localhost:8080/favicon.ico I do see the favicon.
这是我在HTML标头中的代码:
Here is my code within the HTML header:
<link rel="shortcut icon" sizes="16x16 32x32 64x64"
href="/favicon.ico" type="image/x-icon" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
任何帮助将不胜感激!谢谢!
Any help would be appreciated! Thanks!
推荐答案
在两种情况下,建议重新启动浏览器.
In both cases, a browser restart is suggested.
这篇关于网站图标未显示在Google Chrome浏览器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文