HOME    articles    tutorials    tool directory    books    about

Free Email
META Tag Generator

Our Other Sites

GoTraining
Get Training on what you need.

GoExam
Certification practice tests with free demos to download.

GoCertify
Complete computer certification resource center covering virtually every IT certification.

SearchCertify
links, links and more certification links!

Demystifying Favicon.ico (continued)

Your custom favicon.ico file must be in icon format. The finished size should be 16x16 pixels, limited to 16 colors. There are several ways you can create it:
  • Use the graphics program of your choice to create the image you wish to use as your icon. Reduce it to 16x16 pixels and set the color depth to 16 bits or less. Save it as a bitmap (bmp) file. Convert the file to ico format using a graphics conversion utility like IrfanView.

  • Use a free online icon editor such as the java applet at favicon.com.

  • Use an icon editing program such as Microangelo (free 21 day evaluation, $59.95 to register).

Once you have created the icon in the proper format, name it favicon.ico, and upload it to your Web server. Place it in the root (www) directory. MSIE will find it when users bookmark your site. Make sure you upload your favicon.ico file in binary format. If you upload it in ASCII (text) format it will not work.

If you don't have access to the root (if, for example, you're on a free server) put a copy of the file in every directory that contains files a user might bookmark. Or, put it one place and include a link on each of your Web pages that tells MSIE where to find it. The link must go between the <HEAD></HEAD> tags, and looks like this:

<LINK REL="SHORTCUT ICON" href="/myfreehost.com/mysite/myicon.ico>

If you're feeling really ambitious, you can create different icons for special pages or sections of your site. Then use the <LINK REL> tag to specify which icon a particular page should use.

That's all there is to it. Once you have your shiny new favicon.ico in place, it will magically appear on the favorites list of visitors who bookmark your site. It will also appear in the address bar as well, next to the site URL. Like this:



And the mysterious favicon.ico Page Not Found errors will vanish from your log files, and trouble you no more.

###

previous page


HOME    articles    tutorials    tool directory    books    about

(c) copyright 2000-2010 Anventure.  All Rights Reserved.
privacy policy