How to Add favicon icon in the Website?


  1. Create a 16 pixel wide by 16 pixel high favicon.bmp file in a Program like MS-Paint, Adobe Photoshop , or Jasc's Paint Shop Pro , then use a program (such as the free IrFanView app  [for Windows]) to reduce the colors to 16 colors [Image -> Decrease Color Depth], and then 'save as...' to a Windows Icon Format (favicon.ico).
  2. Upload the image (favicon.ico) to the root section of you site.
  3. Add the following code to the <head> section of your webpage:
    <link rel="icon" type="image/ico" href="favicon.ico" />


No comments:

Post a Comment