Change Icon in the Address Bar

Lakhangarg
Posted by in ASP.NET category on for Beginner level | Views : 9569 red flag

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: <link rel="icon" type="image/x-icon" href="/favicon.ico" />
because for some browsers with the first line only it does not display your customize icon.
Page copy protected against web site content infringement by Copyscape

About the Author

Lakhangarg
Full Name: Lakhan Pal
Member Level: Silver
Member Status: Member,Moderator
Member Since: 8/17/2009 12:39:46 AM
Country: India

http://lakhangarg.blogspot.com
Hello Friends Myself Lakhan Pal Garg and i am a B.Tech (IT) Graduate and having 8+Years of Exp. in Microsoft Technology. I have Write a Blog Named Free Code Snippets (http://lakhangarg.blogspot.com/) I hope you must visit my blog as your valuable feedback will motivate me to write more and improve my mistake. If you want to gain more knowledge then share it with others.

Login to vote for this post.

Comments or Responses

Posted by: Abhijit Jana on: 11/26/2009
Hi Lakhan,
You can also mention the size of Icon that should need for address bar. And I guess it is 16*16 .

Correct me if I am wrong.

Abhijit

Login to post response

Comment using Facebook(Author doesn't get notification)