Whenever anyone bookmarks your site, an icon will subsequently show up on their Favorites list. When your site is visited, the icon will also show in the URL box of the browser. Browsers: IE5 and Later (ignored by other browsers).
Method 1
- Select any standard Windows icon file. The .ico file must be in standard Windows icon file format, or it will be ignored.
-
Rename the icon file *exactly* to: favicon.ico -- all lowercase. No deviation from this is allowed.
-
Place the favicon.ico file in the 'root' directory on your web server (where your main index page is).
Whenever your site is bookmarked, the icon will subsequently show up on the visitor's Favorites list. When they visit your site, the icon will also show in the URL window of the browser.
That's all there is to it -- it's automatically picked up by IE5 and later browsers.
Method 2
Insert the following LINK tag in the <head></head> of your pages.
Change the path and icon filename to correspond to the location of the icon file on your site. The icon graphic filename should be lowercase, no more than eight characters, and the extension must be .ico. As above, the file must be in standard Windows icon file format or it will be ignored. When you use this method as opposed to Method One above, the LINK REL code should appear on any page that might be bookmarked. Don't forget to confirm that the icon file is actually where you say it is in the LINK REL path.