<link rel="shortcut icon" href="1.ico"> href="图片名字.ico"; 图片后缀名为: .ico 转载于:https://www.cnblogs.com/sky-wolf/p/7561872.html