29/07/2009 14:59

A favicon (short for favorites icon), also known as a website icon, shortcut icon, url icon, or bookmark icon is a 16x16 pixel square icon associated with a particular website or webpage.[1] A web designer can create such an icon and install it into a website (or webpage) by several means, and most graphical web browsers will then make use of it. Browsers that provide favicon support typically display a page's favicon in the browser's address bar and next to the page's name in a list of bookmarks. Browsers that support a tabbed document interface typically show a page's favicon next to the page's title on the tab. The Microsoft Windows Shell also uses favicons to represent "Internet shortcuts" to web pages.





    * <link rel="icon" type="image/vnd.microsoft.icon" href="https://example.com/image.ico">
    * <link rel="icon" type="image/png" href="https://example.com/image.png">
    * <link rel="icon" type="image/gif" href="https://example.com/image.gif">


    * <link rel="icon" type="image/vnd.microsoft.icon" href="/somepath/image.ico" />
    * <link rel="icon" type="image/png" href="/somepath/image.png" />
    * <link rel="icon" type="image/gif" href="/somepath/image.gif" />

    Internet Explorer has a slightly different format.[2]

    * <link rel="shortcut icon" type="image/x-icon" href="/somewhere/myicon.png">