Put the finished icon file into your own space root directory, Dede website icon file named Favicon.ico.
The principle of browser invoke Favicon is to look for Favicon.ico files in the directory where the Web page is located, and if not, go to the root directory of the Web site.
Therefore, the easiest way to use favicon in a Web page is to name the made icon file Favicon.ico and upload it to the root of the Web site.
If you need to put Favicon.ico in another directory, or want to let different pages display different favicon, you need to do in the HTML file in the Web page, the specific settings are very simple, in the section of HTML Add the following code:
<link rel= "icon" href= "/dir/favicon.ico" mce_href= "/dir/favicon.ico" type= "Image/x-icon" >
<link rel= "shortcut icon" href= "/dir/favicon.ico" mce_href= "/dir/favicon.ico" type= "Image/x-icon" >
Firefox also supports favicon in GIF animation format, using the following methods:
First make a 16*16 gif animation, and then add the following code to the HTML code
<link rel= "shortcut icon" href= "Favicon.ico" >
<link rel= "icon" href= "Animated_favicon.gif" type= "Image/gif" >
If the site template is XHTML, add a/before the final >.
Note: If you want all the pages to display their own icons, then you need to add this code on all your templates, the path does not write wrong.