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
  • 37,683
  • 30
  • 72
  • 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
  • 295,876
  • 54
  • 310
  • 348
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,986
  • 1
  • 17
  • 32
Joe
  • 4,553
  • 9
  • 51
  • 57
0

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

Ferdinand Beyer
  • 64,979
  • 15
  • 154
  • 145
0

Are you talking about creating a Favicon?

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

David Webb
  • 190,537
  • 57
  • 313
  • 299
0

Just use this.

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

I hope it works for you.

Wanjala
  • 26
  • 3