[html] 第636天 如何更改浏览器左上角标题旁的图标?
Opened this issue · 4 comments
haizhilin2013 commented
xujs0813 commented
意思是修改网站图标
此图标应该为一个 .ico 的图标,常为 16*16 / 24 * 24
通过在 html 头部引入如下标签实现:
<link rel="shortcut icon" href="static/favicon.ico">
qitest commented
图标在html的head进行引入,如
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
huangGeneYu commented
图标在html的head进行引入,如
wyfsama commented
在head中引入
<link rel="shortcut icon" href="favicon.ico">