Templateo - Website Templates

How to add a favicon to your blog / website

by Alex
Posted in Graphic Design, Resources, Tutorials on February 19th, 2008

A favicon, also known as shortcut icon, website icon, page icon or urlicon is a small, square icon, usually 16×16px in size, that is displayed alongside the URL in the web address bar of a web browser.

Favicon Examples

The reason for using a favicon is branding. Most modern web browsers allow tabbed browsing. This means that a user can open several websites in the same browser window. A nice favicon design will distinguish your blog / website from the other websites.

Some modern browsers also allow favicons to be displayed in the Bookmarks section. Again, this will ensure your website will be distinguished from the others.

Favicon formats

The most widely used favicon format is .ico. Other favicon formats used are .gif and .png. You can also add an animated gif as a favicon, but this is currently only supported by Mozilla Firefox. Even though this is only supported by Firefox, there is the possibility of using multiple favicons. For example you can use an animated one which will display in Firefox and a static one which will display in the rest of the browsers.

Favicon Design

A favicon has a 16×16px size so to design it it’s advisable to use a larger size such as 128×128px and then scale it to 16×16px. For more information regarding the design process view our favicon design tutorial.

Implementation

Most browsers search by default for favicon.ico in the root folder of the website / blog the access. So it’s enough to place your favicon.ico in the root folder without adding additional code and the favicon will be displayed. However the code below should be used, especially if the favicon is not located in the root folder.

The code

Favicon Code

Guidelines

  • The link elements must be inside the head element in the HTML.
  • Use the appropriate resolution and color depth : ICO - include multiple resolutions (the most commonly used being 16×16 and 32×32, with 64×64 and 128×128 sometimes used by Mac OS X) and bit-depths ; GIF - use 16×16 in 256 colors ; PNG - use 16×16 in either 256 colors or 24-bit.
  • For XHTML, the link element must be terminated by ” />” instead of “>”.
  • The .ico file format will be read correctly by all browsers that can display favicons.

Favicon Inspiration

Share this article
IzzyWebsite - CMS - The Easiest to Manage, Content Management System!
8 ResponsesLeave a comment
  • Jake
    February 20, 2008 at 11:19 am

    Well, that’s a nice tip! Your icons looks great… :) I always love to have my blog or site icons. It is also considered as a logo or identity for your site… :)

  • Jeff Starr
    February 20, 2008 at 6:12 pm

    Yes!! It is great to see more articles on favicons, especially when they are well-written and informative like this one! Here is my slightly geekier take on the wonderful world of favicons, especially focused on branding and technical aspects. Hopefully, it will provide further benefit and help for your readers regarding favicons! ;)

  • Web Design
    February 21, 2008 at 4:52 am

    Wow. it’s good. thanks for that.

  • computer jobs
    March 16, 2008 at 5:14 pm

    I have noticed that favicon works as ico only under IE because when i use gif it don’t work on my ie :|

  • animated favicon
    May 27, 2008 at 6:16 pm

    How can I make the favicon roll from up to down?

  • Alex
    May 27, 2008 at 6:35 pm

    It’s not all that difficult. You just create an animated gif with the icon and instead of the standard ico file you make the favicon a gif. This blog uses a gif favicon. You can check out the code you need to inserd in the head tags by checkng the source code.

  • Sam
    September 5, 2008 at 6:42 am

    Hey good advice. I use SM Favicon Generator. This one works great and its fast.

  • favicon generator
    December 26, 2008 at 7:48 am

    I use free tool at animatedfavicon.com. This one works great and its fast

Add a commentGet a Gravatar

* Name

* Email Address

Website Address

You can usethese tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Sponsors
PSD to HTML
PSD to HTML
Elegant Wordpress Themes PSD to HTML
Favicon Ads
Share your design news Free Joomla Templates Free mediawiki skins Free pligg templates Flash web templates Free icons for download CLD Vectors - Free Vectors for Download Free Vectors
RSS Feed
Around The Site
Sponsor
The World's Best Web Design
RSS Latest on zaBox
Sponsors
User Links Panel
RSS User Links
  • Web Design Trend Hunting - Fluid Grid Layout: 10+ Outstanding Examples & 1 Tutorial July 3, 2009
    In our daily web hunting raids we have spotted another interesting & good-looking trend - the fluid grid-based layout
    Web Design Trend Hunting - Fluid Grid Layout: 10+ Outstanding Examples & 1 Tutorial
  • 55 Really Creative And Unique Blog Design Showcase: Inspiration July 3, 2009
    There are millions of blogs around the world, so it's really a challenge to stand out with unique design. Get inspired, to help you create really unusual design!
    55 Really Creative And Unique Blog Design Showcase: Inspiration
  • Design a wordpress theme with Photoshop July 3, 2009
    If you want to create your own custom blog design follow this easy tutorial to learn how to design a wordpress theme in Photoshop
    Design a wordpress theme with Photoshop
  • 4 Useful Random Topics For Bloggers July 3, 2009
    A roundup post for June 2009 for TutZone :)
    4 Useful Random Topics For Bloggers
  • Mark Prints for Self on Other's Blog July 3, 2009
    For a change, this post is for readers from all niche, segment, interest, community and category. Even if you have no relation with the world of web designing you shall find reading it worthy.
    Mark Prints for Self on Other's Blog
  • Web Standards July 3, 2009
    Using web standards improve the accessibility of the websites, reduce development and maintenance time, improve search engine rankings and can also improve accessibility.
    Web Standards
  • 50 Minimalist Websites Design: Best Since 2007 July 3, 2009
    Minimal Websites are interesting because it's a way to let visitors focus on the content. We just mixed the best of Minimalist design featured on CssLeak since 2007. There is 50 websites order by popularity.
    50 Minimalist Websites Design: Best Since 2007
  • HP Workstations - Prize winning video July 3, 2009
    Viral video promoting the HP workstation’s and their ability to bring peoples ideas to life.
    HP Workstations - Prize winning video
Friends
We recommend
Sponsor

Money Saving Tips
Find cheap business cards printing, postcard printing and brochure printing by searching for online coupons. Search terms like "print flyers coupon code" in your favorite search engine.