Icon in the Address bar Textbox in Browsers
(Short Cut) Icon in the Address bar Textbox in Browsers
You have to insert this line after the <head> tag in your html / ASPX / Master Page.
<link rel=”shortcut icon” href=”images/MyComp.ico”>
Make sure the image is file type .ico (for icon). Also, after inserting this line, the image may not appear immediately. So, Try to Refresh the page.
Here’s an article for that:
Other way to achieve the same thing is as follows
Save the icon with the default file name of favicon.ico to the root directory of your domain—for example, www.microsoft.com/favicon.ico. The first time a user visits your Web page, Internet Explorer automatically searches for this file and places the icon in the address bar, next to all favorites linking to your site, and on page tabs. In Internet Explorer 5 and Internet Explorer 6, the icon will appears only after a user adds the site to the Favorites menu.
You can use either method, or both. However, if you use the First method, whichever icon you point to in the link tag on each page will be displayed instead of the default favicon.ico file at the root of your domain.