Favicon Tutorial

What is a favicon?

Notice the red “Y!” symbol that appears in the left-most area of the address bar in Internet Explorer graphic below. Look familiar? Yep, that’s Yahoo’s favicon. These favicons (favorites icons), sometimes called “bookmark icons,” appear after adding a website with a favicon to the favorites menu in Internet Explorer and certain other browsers.

Favicon in IE address bar

Favicons also appear in the favorites menu after a page is added. Most anyone who’s roamed the Internet and bookmarked sites of interest has noticed favicons showing up in the favorites menu like this:

Favicons in favorites menu

They also often appear in the Windows Start menu after installing a program as shown here:

Favicons in Windows Start menu

Creating a favicon

A favicon should be 16 X 16 pixels with 16 colors and the file name should be favicon.ico. IconEdit32 is a good freeware program that allows you to create favicons as well as icons of other sizes and color depths. IrfanView is an excellent freeware image viewer that supports the icon (.ico) image format. You can use it to shrink one of your regular images to a 16 X 16 size, then decrease the colors to 16 and save as a “.ico” file. I like to use IrfanView to get an image down to specifications, then edit it with IconEdit32. Remember, if you don’t save it as “favicon.ico,” it won’t work. Also, don’t just shrink an image to icon size and rename it with a “.ico” file extension. That won’t work either because it’s not a real icon file.

Installing a favicon on your website

Simply upload the file, favicon.ico to the root web directory of your hosted website with your favorite FTP program, Microsoft FrontPage, Dreamweaver MX or whatever. Make sure your favicon file is named “favicon.ico.” When someone bookmarks your site with a browser that supports favicons, your favicon will appear. Alternatively, you can use this code between the <head></head> (x)HTML tags:

<link rel=”shortcut icon” href=”http://www.thenameofyoursitehere.com/favicon.ico” mce_href=”http://www.thenameofyoursitehere.com/favicon.ico”/>

Where can I get favicons?

You can feast upon Clickfire’s collection of over 100 quality free favicons and download them for use on your website. To find out more about favicons, visit the definitive favicon site, Favicon.com.

What good is a website without a favicon?

Absolutely worthless :)

Download Free Favicons:

Free Alphabet Favicons Alphabet Free Flag Icons Flags Free Favicons Miscellaneous Favicons Transparent Favicon Transparent

“Favicon Tutorial” has 33 Comments

  1. IconEdit32 Review - IconEdit Icon Editor lets you Make your own Icon Says:

    [...] of the best uses for IconEdit32 is in creating the so called “favicon,” which appears in the left-most area of Internet Explorer’s address bar and in the [...]

  2. IrfanView Review - Freeware Image Viewer by Irfan Skiljan Says:

    [...] neat uses of IrfanView is its ability to handle icons (.ico). I sometimes use it to create a  favicon–the funky icon that appears in the browser address bar and favorites after bookmarking some [...]

  3. axcel Says:

    thanks for the favicon

  4. Entrecard and Favicon | Beeker's Words Says:

    [...] Well that is a Favicon. I decided I needed one. The husband doesn’t particularly like it when I decide to add things to this site that may involve me turning around and asking tons of questions while he is solving the problems of the world…a.k.a. whichever world he is playing in a computer game. [...]

  5. Sandra Says:

    a favicon appears on my website…a red asterick/flower
    i did not put it there
    i did not upload it to my site
    have any ideas how it got there?
    i worry about security as this got there somehow and i did not put it there….any ideas?

  6. Emory Rowland Says:

    Sandra, it looks sort of like the Mambo flower favicon. Are you using Mambo or another content management system that might set that icon as the default?

    http://help.mamboserver.com/index.php?option=com_content&task=view&id=585&Itemid=124

  7. Ding Ding Says:

    I followed the format above to create a favicon but it is not showing up Internet Explorer. It is showing on Firefox. Can someone let me know the problem maybe?

  8. Emory Rowland Says:

    Ding Ding,
    I have noticed that sometimes it takes a while after bookmarking for the favicons to show up in Internet Explorer and sometimes they don’t show up at all. I’m not sure why this happens, but I’ve heard the complaint often from others. It really should work if you drop the favicon into your root directory. I’ve been able to get it to work on my sites so far, but sometimes it takes some tweaking.

    Here are a few suggestions to try:

    Bookmark it on another machine or ask a friend to do it and see if it shows up.

    Another method you can try is the “link rel” meta tag between the head tags of your source document. This doesn’t seem to always work, but it may be worth a try.

  9. Michael Says:

    how is it that some computers see the favicon and others do not? What’s different in their setups?

    Cheers.

  10. Emory Rowland Says:

    Michael, I believe it is more related to the browser. I have noticed that IE has trouble seeing the favicon after it has been deleted from the cache.

  11. Bob Says:

    It is not necessary for the icon to be called favicon.ico - it can have any name as long as it has the .ico extension and is correctlly referrenced. There does sometimes seem to be a problem getting it to appear. These things work well in Firefox - superior in so many ways to Internet Explorer.

  12. Q5USA Says:

    I’ve used this before and still use it. But it does show an odd inability to “stick”, and seems to vanish or take a while to appear in IE. I blame the lousy MS speghetti code, personally. If it doesn’t seem to work don’t sweat it, my advice. It’s just one line of code. How bad can you screw it up?

  13. chris Says:

    Nice overview of favicons (and blog, for that matter). I created a simple tutorial on how to create a favicon using pages (from apple iwork suite) here: http://www.cjupin.com/2008/04/28/how-to-create-a-favicon-using-pages/

  14. poemas Says:

    Thanks for the tip, i have been trying to add one to my site for a while. Nice blog!

  15. Karenality Says:

    I use Firefox. I see Favicons on some sites, your site, Yahoo, etc. They show up in my bookmarks.
    I have tried to use your code in my website.
    No matter what…I can’t get my icon to show up in my Firefox browser!!! Grrrr…Whazzup with this???
    Please HELP!
    Thanks!
    ~Karen

  16. Emory Rowland Says:

    Karenality, did you upload the file to your root directory at (www.thenameofyoursitehere).com/favicon.ico? Usually, that’s enough to do the trick with FireFox and IE.

  17. imran Says:

    hi i uploaded the favicon.ico file….to root directory but still it does not work… i also added extra lines in
    section still did’t work…any help

  18. Tommy Wilkinson Says:

    Hello thanks for your help!! I dont know if you still update this but I’m having problems. I posted my .ico file on my hosting site in the proper directory. when i type in “www.shinemediahouse.com/favicon.ico” the ico comes up okay but it is not loading as the favicon for index.html on IE or firefox.

    Can you try and see if it is working for you? I also added that code so im not sure what the problem is.

    Thanks for your time!!!

  19. Emory Rowland Says:

    Hi Tommy, I checked your site in both IE and Firefox and I am seeing your favicon just fine. Looks like you’re okay.

  20. Tommy Wilkinson Says:

    Thank you so much for checking for me in such a timely manner! Just a question though. Does it look okay or is the icon muddy looking? And why can you see it and i cant?

    Thanks for your time!

  21. Emory Rowland Says:

    No problem, Tommy, glad to help. It looks normal to me. I’ve noticed that sometimes when I delete a site from favorites in IE that it doesn’t seem to want to come back and show up in the browser address bar again. Not sure exactly why that happens though.

  22. Vicki Says:

    I am having troubles with IE. I have uploaded the image I want to my root web, added the code to my head but still doesn’t show up in IE. I checked my website millingtonseed.com on foxfire and the favicon is there but still will not show up on IE. Anyone have a clue as to what I need to do. I really would like to have my cute little flower show up on all the browsers. Thanks in advance. :)

  23. Emory Rowland Says:

    Vicki, it’s in the right location, size and format seem right. Could it be the colors? Looks like 256+.

  24. Vicki Says:

    Thanks Emory, I changed the colors to 16 hope it works.

  25. john Says:

    Hi,
    For those where the favicon doesn’t appear here;
    delete your browsing history in IE and then you will see the icon!

  26. Melia Says:

    I am trying to make my own blog, I have a problem with favicon… it appear in firefox, but can not seen in I.E.
    then I check your web, it is also the same problem, your favicon is not appeared in I.E. what’s the problem? I have followed all guidances… still have same problem.

    Thanks a lot.

  27. Vicki Says:

    Thanks John,

    I can see my favicon now. :)

  28. Ashutosh Says:

    I dedicated a website on favicon, whatisafavicon.com. As we share the same interest would like you to review the site and suggest me on making it better. Thanks Ashutosh.

  29. Declan Says:

    Hi all. OK. I’ve generated my favicon.ico file, have uploaded it to root directory with CuteFTP and voila! Nothing! On any browser. What’s happened, any ideas. Generated the icon using a plugin for Photoshop. Think I’ve done everything correctly. Help pleeeeeeze!

  30. Ashutosh Says:

    Declan - did you copy the html code?
    Copy paste the code below in ur page below

    For example…

    http://www.whatisafavicon.com/icreate.html an delete all the temp files before reloading the page.

  31. Declan Says:

    Ashutosh, thanks for that. It seems to work fine now in Firefox but now it’s not showing up in Safari - any ideas/suggestions?
    Cheers,
    Declan

  32. Ashutosh Says:

    Declan, its working at my end even on Safari. Try on latest one.. Hope it will work.

  33. Col Says:

    In IE7 and Opera 9.52, simply putting a favicon.ico in my site’s root directory makes that same favicon show up in the address bar, tab, and bookmark for every page on my domain, and even image files.
    For the favicon to show up in Firefox2, I also need to use the code in the tag and then of course it only shows up for the page its coded into.

    Given that difference, how would one achieve different favicons for different pages (I don’t like every single thing on my site having the same icon)?

    For FF, I’d need to put each favicon.ico I want to use in the appropriate directory, then add the code to the head tag of each page for it. But doing that, wouldn’t that cause a conflict in IE and Opera which are automatically using the favicon.iso located in the root?

Leave Your Viewpoint

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image