复制:
网站 URL 旁边的图像图标 https://stackoverflow.com/questions/120420/image-icon-beside-the-site-url
当前让网站图标在所有支持网站图标的浏览器中显示的最佳方法是什么? https://stackoverflow.com/questions/37073/what-is-currently-the-best-way-to-get-a-favicon-to-display-in-all-browsers-that-s
使用网站图标的首选方式? https://stackoverflow.com/questions/6642/preferred-way-to-use-favicons
我想在浏览器的地址栏中添加我的徽标,无论何时浏览。
如何制作网站图标?
你需要一个favicon http://en.wikipedia.org/wiki/Favicon- 这是 16x16 的图像.ico http://en.wikipedia.org/wiki/ICO_(icon_image_file_format)格式以 favicon.ico 形式存储在站点的根目录中。有些浏览器也支持其他格式。
一种更新的、更基于标准的方法是在 html 头部中包含类似的内容:
<link rel="icon" type="image/png" href="/path/image.png"/>
另请参阅 W3C 的此文档:如何将网站图标添加到您的网站 http://www.w3.org/2005/10/howto-favicon
您可能还想参考该问题的其他答案:
- 网站 URL 旁边的图像图标 https://stackoverflow.com/questions/120420/image-icon-beside-the-site-url
-
当前让网站图标在所有支持网站图标的浏览器中显示的最佳方法是什么? https://stackoverflow.com/questions/37073/what-is-currently-the-best-way-to-get-a-favicon-to-display-in-all-browsers-that-s
- 使用网站图标的首选方式? https://stackoverflow.com/questions/6642/preferred-way-to-use-favicons
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)