Code:
More information on favicon
After you've created a neat favicon, it's time to add it to your site. To do so, follow the below simple procedure:
1. Upload the generated file ("favicon.ico") to your site. Verify it's there by typing http://mysite.com/favicon.ico in the browser's location, where "mysite.com" is your site's address.
2. Next, insert the below code in the HEAD section of your pages, at the very least, your site's main index page:
<link rel="shortcut icon" href="/favicon.ico">
3. That's it! Note that your favicon may not appear immediately after you've completed the above two steps. In fact, it may take a few days, and in IE, sometimes the favicon will disappear from time to time due to a browser bug.
i am 1 step and i have doubt in second step where i write this please tell me