The first step is to prepare an icon creation software.
First of all, you must understand that the so-called icon (Icon) is a special graphic file format with .ico as the extension. Ordinary image design software cannot use this format, so you need to download an ico icon tool. Commonly used software on this site is available. We recommend the powerful Microangelo, which can easily create ico icons.
The second step is to determine the specifications of the "Favorites" icon.
What appears in the favorites is 16*16; the best color used should not exceed 16 colors. (For clarity), if you don’t know, you can search for *.ico format icons on the C drive. You should be able to find the icons of those websites in the IE cache. You can open these icons to know what format to use. Follow others Just the same.
The third step is to design an icon of your own.
You can make your website's LOGO into a thumbnail or design a unique pattern as a "favorites" icon. In short, it must be your own and well represent the style and personality of your website. Then name the icon file: favicon.ico (note that it needs to be named this file name). It can be made more eye-catching.
For example, let's change it with an icon file on the local machine. Search for a file on this computer and copy it to the desktop. Open it with Microangelo, change it to 16*16, use 256 colors, and save it as down-icon.png .
Finally, just upload this icon file ( down-icon.png ) to the root directory of the server where your website is located. (That is, the folder where your homepage index.html is located) You do not need to make any modifications to your web page files. IE5 will automatically and continuously search the root directory of your website. As soon as it finds a down- icon.png file will display the icon in the visitor's address bar and favorites list.
1. If you want to set different "favorite" icons for different pages, then you need to add the following content to the HEAD section of the web page file:
<link rel="shortcut icon"href="http://www.net/myicon.ico">
Note: The path of the icon must use an absolute path.
2. The second method: Add the link command to the homepage HTML file. <link> is placed between <head> and </head> <br/>For example, as follows:
<HEAD>
<link rel = "Shortcut Icon" href=https://images.downcodes.com/newdown/images/down-icon.png>
</HEAD>
The href=" https://images.downcodes.com/newdown/images/down-icon.png (just an example, you just need to replace it with your URL) replace down-icon.png with the one you made Just use the ICO file name.
In this way, the icon you created will only be displayed when a netizen adds your website to Internet Explorer's favorites and reopens the Internet Explorer browser.
The above article is all about the implementation method of displaying the website logo on the title bar and favorites of the web page. I hope it can give you a reference and I hope you will support downcodes.com.