I was trying to add a favicon to a website earlier and looked for a better way to implement this than to dump a favicon.ico file in the root of the website.
favicon.ico
This is what I always use:
The second one is for IE. The first one is for other browsers.