将压缩文件中的favicon.ico图像放在根目录下(也可以是其他目录)
在页面源文件的<head><</head>标签之间插入
<link rel="shortcut icon" href=" /favicon.ico" />
最后形成:
<head>
...
<link rel="shortcut icon" href="/favicon.ico" />
</head>
将压缩文件中的favicon.ico图像放在根目录下(也可以是其他目录)
在页面源文件的<head><</head>标签之间插入
<link rel="shortcut icon" href=" /favicon.ico" />
最后形成:
<head>
...
<link rel="shortcut icon" href="/favicon.ico" />
</head>