Wednesday, May 11, 2011

How to get traffic to your site the right way

The image is neat because it makes the site stand out in the Bookmarks no?
Some cool browsers - like Firefox - also support this tag in the <head> section:

<link rel="icon" href="/favicon.gif" type="image/gif">

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 <head> section of your HTML:
    <link rel="icon" href="/favicon.gif" type="image/gif">  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.

No comments:

Post a Comment