Thursday, March 5, 2009

Adding an Icon to your Web Page

Nowadays you would have seen web pages with icons; They are visible 

1. In the address box,
2. In the Favorites (Bookmarks) pane and menu,
3. Modern browsers also display them in tabs,
4. there is also an extension for Firefox, which displays favicons on Google search pages.

It is very easy to add an icon. You just have to create a small icon possibly 16 x 16 pixels and add the following code in your html page,

Between the head tag put link rel="shortcut icon" href="Name of the File"


If you want to an animation as your icon create your animation as a gif file and place it in the above tag.

http://coderpassion.comuf.com