A favicon (short for "favorites icon"), also known as a page icon, is an icon associated with a particular website or webpage. A web designer can create such an icon, and many graphical web browsers—such as recent versions of Internet Explorer, Firefox, Mozilla, Opera, Safari, iCab, AOL Explorer, and Konqueror—can then make use of them. Browsers that support favicons may display them in the browser's URL bar, next to the site's name in lists of bookmarks, and next to the page's title in a tabbed document interface.
The original means of defining a favicon was by placing a file called favicon.ico in the root directory of a webserver. This would then automatically be used in Internet Explorer's favorites (bookmarks) display. Later, however, a more flexible system was created, using HTML to indicate the location of an icon for any given page. This is achieved by adding two link elements in the section of the document as detailed below. In this way, any appropriately sized (16×16 pixels or larger) image can be used, and although many still use the .ico format, other browsers now also support the animated GIF and PNG image formats.
Most modern browsers implement both methods. Because of this, web servers receive many requests for the file "favicon.ico" even if it doesn't exist. Another common problem is that the favicons may disappear if the browser's cache is emptied.
Originally, Internet Explorer only used favicons for bookmarks, which created a minor privacy concern in that a site owner could tell how many people had bookmarked their site by checking the access logs to see how many people downloaded the favicon.ico file. However, since newer versions of Internet Explorer and most other browsers also display the favicon in the address bar on every visit, that concern may no longer be relevant (current use of Internet Explorer version 6 on Windows XP only uses the favicon for bookmarked pages).
link elements must be inside the head element (between and ) in the HTML.
/> )
image/x-icon (the IANA-registered MIME type of image/vnd.microsoft.icon is not recognized by major browsers)
image/gif
image/png
Note: A file called favicon.ico and located in the document root directory will also be found by some browsers which do not process the link elements, even if it is not linked from anywhere on your site.
rel attribute must contain a space-delimited list of link types, so a two-word link type would not be understood correctly by conforming web browsers.
The Mozilla web browser added support for favicons, in a way that conformed to web standards: the use of rel="icon" and let web designers add favicons in any supported graphics format. e.g. . Most web browsers have since added support for this feature, which should be used for all new content.
Favicon | Favicon | فاویکون | Favicon | Icone incastrate | Favicon | Favicon | Favicon | Favicon | Favicon