Bookmark this page now. Now go at you bookmark. You will see an image bookmark on the left side of the address bar.
Some cool browsers - like Firefox - also support this tag in the section:
This allows you to use an animated gif -- called favicon.gif in this case -- to replace the static favicon.ico
This allows you to use an animated gif -- called favicon.gif in this case -- to replace the static favicon.ico
Here's how you do it (for a static .ico file):
- Make an image of 16 * 16 pixels.
- Save it as an ICON file (.ico) extension with the name favicon.ico in the root folder of your Website. (The folder with your index.html file)
- Done. It's that simple.
- To also allow browsers that support animated gifs, add the following line to the section of your HTML:
and, of course, make the gif file and place it
in the root folder of your site.
When someone bookmarks your site, the Browser looks for a file called http://YourSite.com/favicon.ico. If it finds a file it uses your file instead of it's default file.
There is lots of software out there that can save gif or JPEG images as an .ico file. A good free one is Irfanview.
0 comments:
Post a Comment