<link rel="shortcut icon" href="~/Content/Favicons/favicon.ico" />
<link rel="apple-touch-icon" href="~/Content/Favicons/apple-touch-icon-iphone.png" />
写在head标签内,就可以保证主流浏览器都能识别
至于图片大小...16*16以上就行了吧.
图片格式应该都可以通用,而且据说用ico结尾更好...(反正我用Png)
<link rel="shortcut icon" href="~/Content/Favicons/favicon.ico" />
<link rel="apple-touch-icon" href="~/Content/Favicons/apple-touch-icon-iphone.png" />
写在head标签内,就可以保证主流浏览器都能识别
至于图片大小...16*16以上就行了吧.
图片格式应该都可以通用,而且据说用ico结尾更好...(反正我用Png)