.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Code Snippets >> ASP.NET Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Change Icon in the Address Bar

Posted By:Lakhan Pal Garg       Posted Date: May 28, 2010    Points: 10    Category: ASP.NET Controls    URL: http://www.dotnetspark.com  

This is Basically use to change the address bar icon of your website.
 

Introduction


This is Basically use to change the address bar icon of your website. steps for this.

Steps to Change Address Bar Icon:


(1) Create fevicon.ico file.

(2) Add these lines in the head tag of the page. if you have master page then add these lines in master page.
< link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" / >
< link rel="icon" type="image/x-icon" href="/favicon.ico" / >

(3) we are adding second line:

because for some browsers with the first line only it does not display your customize icon.

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend