A favicon is an icon file or image that is typically associated with a web site. Browsers that support favicon will typically show it in an area beside the location of the current web page.
The favicon may be included in these ways:
- As an icon file in the root directory of the site, named exactly as favicon.ico.
- Using a link element in the head element of an HTML document. The href attribute is the URI of the icon or image. The type attribute (optional) is used to indicate the Internet media type of the image.
- RFC 5988 - Web Linking