Can Baidu search Ico icon making, will help you to change your picture to the ICO format.
It is best to place your Xxxxxx.ico picture under a folder in the project, such as the Images folder in Webroot.
renamed to Favicon.ico
Add code to head:
<link rel= "shortcut icon" href= "Images/favicon.ico"/><link rel= "bookmark" href= "Images/favicon.ico"/>
Images is the folder that is stored.
Advantages
1. Most importantly, all browsers, including IE5, support ico files, GIF, PNG and so on have no ICO support a wide range
2. If there is a favicon.ico, the server 404 error will have a friendly return, tested all modern browsers (tested Chrome 4, Firefox 3.5 "Firefox", IE8, Opera and Safari 4), found that they will request favicon.i Co, so the error page will have a corresponding icon display, so it is best to use ico!
3. An. ico file can meet the needs of multiple dimensions at the same time, without having to generate a single file per size
"JSP" Modify the page ICO small icon