The Tiny Icon That Rules the Web

A comprehensive look at the history, usage, and critical importance of the favicon.

1. What is a Favicon?

A favicon (short for "favorite icon") is a small, square graphic associated with a particular website or web page. It appears in browser tabs, bookmark menus, history logs, search engine results, and as home screen shortcuts on mobile devices.

2. The History of the Favicon

The favicon was introduced by Microsoft in March 1999 with the release of Internet Explorer 5.

3. Modern Usage & implementation

Today, favicons are much more complex due to high-resolution smartphone screens and varying operating system ecosystems. A modern implementation uses a combination of file formats to satisfy desktop and mobile requirements.

To use a favicon, developers insert specific code inside the HTML <head> element:

<!-- For modern desktop and mobile browsers -->
<link rel="icon" href="/icon.svg" type="image/svg+xml">

<!-- Fallback for older legacy browsers -->
<link rel="icon" href="/favicon.ico" sizes="32x32">

<!-- For Apple home screen bookmarks -->
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

4. Why Favicons are Important

While only measuring a few pixels wide, a favicon impacts several critical pillars of the user experience and web discovery.