for different browsers, there is a difference between the methods
1. For IE or TT browser: Name the ICO icon for the 16x16 pixel that needs to be displayed Favicon.ico placed in the root directory of the Web site, the browser will automatically retrieve
2. This is probably the method that all browsers commonly use to add a specified icon to a tab page:
Put the Favicon.ico icon in the root directory of the website and add it to the
<link rel= "shortcut icon" href= "Favicon.ico" type= "Image/x-icon"/>
3. For Mozilla Firefox: icon format is not as strict as IE, GIF and PNG format icons can also be displayed, icon name can also not favcion
4. After placing the icon in the root directory, add it to the
<link rel= "shortcut icon" href= "Favicon.ico" type= "Image/x-icon"/>
<link rel= "icon" href= "Gif_favicon.gif" type= "Image/gif" >
or
<link rel= "shortcut icon" href= "Favicon.ico" type= "Image/x-icon"/>
<link rel= "icon" href= "Png_favicon.png" type= "Image/png" >
5. Finally, the ICO format picture can be produced by magicico This small software, note that this software can only recognize the PNG format picture
Software: http://ishare.iask.sina.com.cn/f/9614427.html
6. Link to the online picture, you can use the following method (below is the csdn icon, can be placed directly in the page's head tag, so it can be directly displayed)
<link href= "Http://csdnimg.cn/www/images/favicon.ico" rel= "SHORTCUT ICON" >
How to display the site logo icon (or specify an icon) on the Browser's tab page