tags:

views:

67

answers:

3

I would like to have my site's logo shown in the icon area of the title rather than the default white document. Exactly as stackoverflow has it.

+4  A: 

They're called favicons, and are quite easy to make/use. Have a read of http://www.favicon.com/ for help.

Paul McLean
+5  A: 

Hi,

 <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />

add this to your HTML Head. Of course the file "favicon.ico" has to exist. I think 16x16 or 32x32 pixel files are best.

Regards.

Nick
For the code, I think wikipedia has a better explanation and better cross browser compatibility.http://en.wikipedia.org/wiki/Favicon
Andy Li
Thanks!Just took this codeline from my Website and since it works, I thought it can't be too wrong. ;-)
Nick
Thanks Nick! Kust had to convert my image to an ico to get it working in IE. <link rel="shortcut icon" href="/Content/images/MyIcon.ico" />
littlechris
A: 

this is interesting question so let check it if you have a image for use as a website-icon then

Add this to your script

   <link rel="icon" type="image/gif" href="animated_favicon1.gif" />

otherwise if you have a icon for your website icon then you chose

 <link rel="shortcut icon" href="favicon.ico" />

i choose always http://www.iconspedia.com/ for get more interesting icon

if my answer solve your problem then give me vote ok