我有一个基于php和html的网络。现在我有了一个问题,就是这个图标不会出现在google-chrome中。如果我使用firefox,那么所有的功能都很好。有什么建议吗?
我的守则:
<link rel="shortcut icon" href="http://teabag.webclient2.de/minis/images/favicon.png" />网址:http://teabag.webclient2.de/minis/
谢谢!
发布于 2013-11-28 00:40:25
我刚查了一下你的网站,注意到你把<link>放在了<body>标签里。
它应该在文档的<head>中。这样做会奏效。
发布于 2013-11-28 00:40:34
试试这个:
<link rel="icon" href="http://teabag.webclient2.de/minis/images/favicon.png" />它适用于我的图标:)
发布于 2013-11-28 00:40:49
尝试清除你的缓存。然后添加以下内容:
<link rel="icon" type="image/png" href="http://teabag.webclient2.de/minis/images/favicon.png" />https://stackoverflow.com/questions/20255761
复制相似问题