制作favicon.ico 的网站 http://www.bitbug.net/
avicon图标介绍
favicon.ico 一般用于作为缩略的网站标志,它显示位于浏览器的地址栏或者在标签上,用于显示网站的logo,如图红圈 的位置, 目前主要的浏览器都支持favicon.ico 图标.
如何安装Favicon
当成功生成favicon.ico 图像文件后,浏览器会自动弹出一个zip的压缩文件
将压缩文件中的favicon.ico 图像放在根目录下(也可以是其他目录)
在页面源文件的<head></head>标签之间插入
<link rel="shortcut icon" href="favicon.ico" /> 该段
最后形成:
<head>
...
<link rel="shortcut icon" href="favicon.ico" />
</head>
这是我放的路径 一次成功 很爽
<head>
<link rel="Shortcut Icon" href="<%=request.getContextPath() %>/view/images/favicon.ico" type="image/x-icon"/>
<link rel=Bookmark href="<%=request.getContextPath() %>/view/images/favicon.ico"/>
</head>