Sometimes it looks simple to Setup favicon icon for your website, but it is also quite useful when we start to set favicon as i do.
First , upload favicon.ico file in your root directory (most of times in public_html).
Just put below tag in your index file OR whichever common file for your project.
<link rel=”FaviconIcon” href=”favicon.ico” type=”image/x-icon” />
You are done..
This will display favicon icon in the starting of your Address Bar as well as in your current browser tab.
Although new browsers support GIF and PNG images , but , I would suggest always saving the image as favicon.ico.