调试时,favicon.ico资源加载失败问题

在浏览器调试时候,favicon.ico抛异常,加载失败,favicon.ico Failed to load resource: the server responded with a status of 4
在head标签添加favicon.ico图标即可。

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>缴费详情title>
    <link rel="shortcut icon" href="img/bitbug_favicon2.ico" />
head>

更详细的博客:http://www.cnblogs.com/LoveJenny/archive/2012/05/22/2512683.html

你可能感兴趣的:(html)