We had some fun with this seemingly simple problem today. Setting up a new web site, we found that the "favicon" graphic (the little icon that show up next to your page's URL or title in a browser tab or address bar) was working for all browsers but Internet Explorer (IE).

It turns out that IE is very particular about the way that the favicon must be set. The graphic must be of type "ICO". While other browsers support GIF, JPG, and PNG icons, IE requires ICO.

Next, a reference to the icon must be included in the section of your HTML document, using the tag. The tag must have the attributes "rel", "type", and "href" set to the values "SHORTCUT ICON", "image/vnd.microsoft.icon", and the full URL (including http:// and your domain) to the ICO file.

view plain print about
1<link rel="icon" type="image/vnd.microsoft.icon" href="http://www.yourdomain.com/images/favicon.ico" />

For more information, see the following links: