Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我像这样使用了图标
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <link rel="icon" href="favicon.ico" type="image/ico" />
但是当我在本地主机上运行时它没有显示。我写了这段代码,merr.html我在 localhost 主机上运行,它没有显示。如果我从 Windows 资源管理器中双击,则会显示该图标。你知道怎么解决吗?
merr.html
我用清除缓存浏览器(firefox)解决了这个问题,然后我重新启动浏览器并显示了图标。谢谢