Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Favicon format GIF or ICO?

Tags:

Why use a GIF favicon? Is that for iPhone and iPad can read it?

<link rel="icon" href="/favicon.gif"> 
like image 410
Solidariti Avatar asked Aug 23 '10 13:08

Solidariti


People also ask

Does favicon need to be ico?

A favicon can actually be either a PNG, GIF, or ICO file. However, ICO files are typically used more than others as the file size is smaller and it is supported in all major browsers. PNGs are used more commonly for IOS, Android, and Windows 10 devices.

Can a favicon be a GIF?

A favicon is a special icon that appears at the top left corner near the web address bar. The file type can be of any jpg, png, gif or icon(. ico) image.

What format should favicon be?

This document does not discuss in detail how to create a favicon image. However, the format for the image you have chosen must be 16x16 pixels or 32x32 pixels, using either 8-bit or 24-bit colors. The format of the image must be one of PNG (a W3C standard), GIF, or ICO.

What is a ico file favicon?

The favicon. ico file is a small graphic icon that is used by some browsers (including Microsoft Internet Explorer and Mozilla Firefox) to enhance the display of address bar information and "favorites" bookmark lists. When requesting a resource, these browsers also try to locate the site's custom favicon.


2 Answers

A GIF can be animated although browser support for this is currently quite limited. ICO is currently the more widely supported format (including iPhone and iPad). A full list of browser compatibility can be found in this WIkipedia article.

like image 156
Macros Avatar answered Sep 21 '22 15:09

Macros


Browsers started supporting it. Also, ICO files are an old image file format for icons in Microsoft Windows. Since ICO is vendor specific, some choose to go with GIF.

Not to mention that there is an abundance of .gif editors, and few ICO editors.

After reviewing supported formats, your best bet is to go with PNG files if you are trying to get away from ICO.

like image 42
Stephen Avatar answered Sep 21 '22 15:09

Stephen