How To Make A Favorites Icon (Favicon.ico)

Favorites icons — those little images which often show up next to a web address in the url bar of your browser — are nice ways to brand a website. After all, these images seem to show up everywhere these days. You’ll see them in:

  • browser bookmarks lists
  • browser tabs
  • social bookmarking websites
  • RSS feed readers
  • search engine results pages (depending on your browser settings)
  • your computer’s desktop as a shortcut icon

and more… (See the image below for examples of favicon use in the url bar, tabbed browsing, and bookmarks.)

Favorites Icon Examples 

But in addition to their visibility in the above locations, favorites icons are also useful because they’ll help you stop lots of error messages from piling up in your log files. When your website is requested by a browser, or is bookmarked, a request for a favicon.ico file is automatically sent. If this file does not exist, 404 Not Found Errors are generated.

Making A Favorites Icon

Making your icon is easy. We’ll show you how to do it in three steps.

Step 1: Select an image that you want to use.

In our case, we decided to use our website’s initials, which is a common way to go. You can also opt for a logo, or some other image which represents your website.

Step 2: Resize, crop, and save your image.

For maximum compatibility, favorites icons need to be a size of 16 x 16 pixels. So you will need to adjust the size of the image that you want to use. If you do not have the necessary graphics editing tools to crop your image and save in an ico format, there are plenty of free favicon generators that you can use. We suggest this favicon generation tool at Dynamic Drive.

What about other image formats? You can use other image formats for your favorites icons, such as jpegs and pngs or gifs (which are useful if you want your favicon to be an animated image), however, for maximum compatibility we suggest the use of the industry standard, the .ico.

Step 3: Add the Favicon To Your Website.

Adding the favorites icon requires the addition of two lines of code within the <head> and </head> tags of your HTML page. You can opt to use one line of code, but for maximum compatibility with all browsers, we suggest using both. One line adds the favorites icon and the other line designates the shortcut icon.

<link rel="icon" href="http://www.example.com/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://www.example.com/favicon.ico" type="image/x-icon" />

And if you are a WordPress user, adding favorites icons is even easier! There is a nice plugin, MaxBlogPress Favicon, which adds the above code to your template for you, and all you have to do is designate the image that you want to use.

And that’s it!  Adding a favorites icon is easy, so there’s no excuse for not creating one for your website.

 

Have questions or know of other useful favicon tools? Let us know so that we can post them here.

Tags:

14 Responses to “How To Make A Favorites Icon (Favicon.ico)”

Trackbacks

Trackback URL for this entry:
http://www.velvetblues.com/web-development-blog/how-to-make-a-favorites-icon-favicon-ico/trackback/

Leave a Reply

CommentLuv Enabled

Want us to work on your project?

Contact us today for a quote. Click here to submit details regarding your project.

If you are making a general inquiry, send an email to info@velvetblues.com