Home  >  Article  >  Web Front-end  >  如何让网页在浏览器标题栏显示自己制作的图标ico_html/css_WEB-ITnose

如何让网页在浏览器标题栏显示自己制作的图标ico_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:51:171466browse

第一步,制作一个尺寸16x16大小的PNG图片,可以用photoshop等图片处理工具来设计,然后保存到本地电脑上,通过ico在线制作或使用IconWorkshop工具制作ICO图标,ico图标命名为:favicon.ico

第二步,把favicon.ico文件上传到网站的根目录上,并在网页源代码

之间加上:

第三步,把修改的网页文件上传到服务器上,再用浏览器打开就可以看到网址前面有自己设计的ico图标了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn