Merely putting the icon in the root directory is not sufficient, although there doesn't seem to be a great deal of consensus on this.
I use the lines:
Code:
<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
in the "head" of the (x)html documents, where images/favicon.ico is whatever image you want displayed.
It doesn't HAVE to be in the "x-icon" type.
You must expect them to be displayed as 16x16. If they aren't that size to start with, browsers will scale them, if you're lucky, with results you might not be impressed by.
The only problem with the above is that it assumes your website (x)html head section is under your control. Unfortunately, that's not always the case.
See
http://en.wikipedia.org/wiki/Favicon.
_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports."
Kamran Nazeer