favico.ico---⽹站ico图标设置步骤
1. 将成功⽣成的图标⽂件下载并改名为favico.ico,上传到⽹站根⽬录。
icon图标库2. 在⽹站⾸页的源⽂件<head> </head>之间插⼊下⾯的斜体部分代码
复制代码
代码如下:
<head>
<link rel="icon" href="../favicon.ico" type="image/x-icon" />
或者
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
</head>
3.动态ico图标的实现⽅法,先把做好的gif动态图标命名为favico.gif <head></head>之间加上: <link rel="icon" href="favicon.gif" type="image/gif" >