Thursday, June 23, 2011

Tip: How to display an icon(on address bar/favorites/bookmark) to a webpage

Resolves these:

·         If you are wondering why you are getting event logs with favicon.ico file not found

·         If you are interested in having a custom icon for your webpage on the address bar of the browser (shown in front of the url ) or favorites or bookmark to your page.

 

How:

 

Add the following link tag with the href set to the icon you want to display:

 

<link href="http://www.mysite.com/myicon.ico" rel="shortcut icon"/>

No comments: