7

Duplicate:

Image icon beside the site URL

What is currently the best way to get a favicon to display in all browsers that support Favicons?

Preferred way to use favicons?

I want to add my logo in the address bar of the browser, whenever it is browsed.

How do I make a favicon?

Community
  • 1
  • 1
praveenjayapal
  • 36,211
  • 29
  • 70
  • 72

5 Answers5

29

You need a favicon - this is a 16x16 image in .ico format stored as favicon.ico in the root directory your site. Some browsers do support other formats too.

A newer, more standards based approach is to include something like this in your html head:

<link rel="icon" type="image/png" href="/path/image.png"/>

See also this document from W3C: How to Add a Favicon to your Site

You might also want to refer to these other answers to the question:

Community
  • 1
  • 1
Paul Dixon
  • 287,944
  • 49
  • 307
  • 343
1

That image is called a favicon and here are some links on how to add one or you can just google "how to add a favicon" for more information.

http://www.w3.org/2005/10/howto-favicon

http://www.clickfire.com/favicon-tutorial

http://essentialkeystrokes.com/tutorial-how-to-create-your-own-favicon

Grax32
  • 3,803
  • 1
  • 16
  • 30
Joe
  • 4,303
  • 8
  • 50
  • 57
0

See http://en.wikipedia.org/wiki/Favicon

Ferdinand Beyer
  • 61,521
  • 14
  • 148
  • 143
0

Are you talking about creating a Favicon?

If so, here's a site which will help you make one.

Dave Webb
  • 185,507
  • 57
  • 307
  • 296
0

Just use this.

<link rel="icon" type="image/png" href="/path/image.png"/>

I hope it works for you.

Wanjala
  • 26
  • 3