html页面调试,控制台提示GET http://localhost:8082/favicon.ico 404 (Not Found)

版权声明:JiahaoZhang原创文章,转载请注明出处 https://blog.csdn.net/GrootBaby/article/details/83658272

解决的方法:

1、做个favicon.ico文件放在根目录下,在head标签引入favicon.ico文件即可

<link href ="favicon.ico" rel="shortcut icon">

2、直接在head标签插入以下代码也OK

<link rel="shortcut icon" href="#" />

猜你喜欢

转载自blog.csdn.net/GrootBaby/article/details/83658272