Specific steps to operate:
1, if you want to the entire site on all pages of the address bar display their own personality small icon, just want to name the icon file as Favicon.ico, and then put the icon file in the Web site server root directory on the site can be.
Note: When using this method, be sure to name the icon file Favicon.ico and place it under the site root directory.
2, enter the link code. If the reader only wants to place a personality icon on one page or place a different icon on a different page, then you need to enter the link code in the page (the HTML header tag), as shown in Figure 33-3.
Note: The URL of the link icon in your code must be an absolute path. The filename of the icon file does not have to be favicon.ico, it can be named at your own discretion. "Shortcut Icon" represents the address bar icon, and "Bookmark" represents the Favorites icon.
The code in the figure is described below.
3, Save the Web page file, and then put the file to the Web site server, browsing the Web page can see the effect, this example operation completed. This example provides two different ways to implement the icon for the address bar, the reader can choose as needed, and use the code method to notice that the URL after "href=" is changed according to the location of your icon