When you browse many websites, you will find that there is a small icon in front of the browser's address bar, and there is also a small icon in the browser's tag location. For example, Baidu, Tencent and other websites have such icons. Do you want to add a small icon like this on your website? With this small icon, your website will be more eye-catching than other people's websites and will attract the attention of others.
PHOTOSHOP, FLASHFXP, Notebook
Need to make a small icon in ICO format
Steps/Methods:
1. Use PHOTOSHOP to create a small icon with a width and height of 32 pixels, and store it in ICO format after the production is completed.
2. Use FLASHFXP to download the web page locally and back up a copy of the source code to open the web page just in case.
3. Find the head part of the web page source code and insert the following code in the head part. Note that the address in href is the address where you store the ICO icon, and write it according to the location on your website.
<link rel=shortcut icon type=image/x-icon href=http://www.iswweb.com/images/favicon.ico media=screen />
4. Upload the modified web page file to the virtual host, and then store the prepared ICO file in the images website directory of the virtual host.
5. The mission is done! Open IE browser and enter your URL to try it? Is there a small icon already?
The format of the small icon must be in ICO format, with width and height all 32 pixel values.
If you cannot see the small icon after following the above steps, please clean up the cache of IE browser. After cleaning up the cache, you can see the small icon.
The storage location of the small icon must be consistent with the storage location in the code, otherwise it will not be displayed.