Favicon.ico — The Ie5 Bookmark Icon
Internet explorer 5 has a new feature: it recognizes an "icon" associated with a website, and it will store that icon when the site is bookmarked. Then ever time a browser looks at his favorites folder they will see not only the name of the site, but also the icon. And, when they click to go to that page, the icon will also appear at the left end of the Address Window (instead of the Ie icon).
How Do I Do This?
The technique is relatively simple. An icon file named favicon.ico must be:
If you own your own domain, option 1 is the easiest. Put the file in the root. (This is where the primary index.htm file is located.)
If you do not own your own domain (e.g., you are using a free host) then place the file in the directory of the index.htm file and every other directory containing a page that might be bookmarked.
Alternatively, you can add HTML to each page that might be bookmarked to reference the favicon.ico file.
If you wish to use the HTML approach, use the following HTML
Just substitute the appropriate path for your website.
Note that if you use the directory approach it is not necessary to use the HTML. The HTML approach is suitable if:
What Is the Favicon.ico File?
It is not a graphic. Rather, it is a special, proprietary format, repository of "bitmap like" graphics. There are four types of images that might be "contained":
Most sites use the "safe" answer: a 16x16 pixel file in 16 colors.
But the main point of all this is that the .ico is not just a graphic. Rather, it is a special format file created from a graphic file.
How Do I Create the Favicon.ico File?
An easy way to create a .ico file is to use one of the web-based services shown below.
There are two approaches
This page created: