HTML

HOME
UP

 

How to create a favico.ico

  • Here's How:
  • Create a 16x16 pixel file.
  • Index the image to 256 colors or less.
  • Save the file in a format that can be converted in an icon editor program - bmp or gif are the best bets.
  • Open the file in an icon-editor to convert it to ico format.
  • Now save the file as favicon.ico.
  • Put the icon in your root directory (for instance,  www.mydomain.com/favico.ico).
  • If you don't have access to the root directory, you can specify a different location by adding the following code to each of your pages: <LINK REL="SHORTCUT ICON" href="/path/favico.ico">  

    Tips:
  • Although the icon palette can contain up to 256 colors, it's a good idea to limit the palette to 16 colors.
  • The Windows 16-color palette is the safest palette to use for icon creation.
  • If you can't place your icon in the root directory, use Server Side Includes to add the required code to the pages of your site.
 

(c) by Wolfgang Zerzawy 07-Mai-08 12:11   

XING