The Tiny Icon That Rules the Web

A complete look at the history, modern usage, and real-world importance of the favicon — with live demos and ready-to-copy code.

1. What is a Favicon?

A favicon (short for “favorite icon”) is a small square graphic associated with a website or web page. It appears in browser tabs, bookmark menus, history, some search results, and as the icon when a site is added to a phone’s home screen.

2. The History of the Favicon

Microsoft introduced the favicon with Internet Explorer 5 in March 1999.

3. Modern Usage & Implementation

High-DPI screens, mobile home screens, and Progressive Web Apps mean a single 16×16 ICO is no longer enough. A solid 2026 setup usually includes:

Recommended HTML

<!-- Classic ICO (multi-size 16/32/48 recommended) -->
<link rel="icon" href="/favicon.ico" sizes="any">

<!-- Modern SVG (crisp at any resolution, can adapt to dark mode) -->
<link rel="icon" href="/icon.svg" type="image/svg+xml">

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

<!-- Web App Manifest (PWA / Android icons live here) -->
<link rel="manifest" href="/site.webmanifest">

<!-- Optional: theme color for browser chrome -->
<meta name="theme-color" content="#3182ce">

4. Live Demo — Icon Sizes in Context

Here’s the same simple “F” icon rendered at the most common sizes. Notice how readability changes dramatically at 16×16 versus larger sizes.

16×16
(browser tab)
32×32
(Retina tab)
48×48
(Windows taskbar)
180×180
(Apple touch — shown smaller)

Tip: Design at a large size first, then test the 16×16 version. Simple shapes and high contrast win.

5. Minimal Web App Manifest

For Progressive Web Apps (or just better Android home-screen icons), create a site.webmanifest (or manifest.json) and link it as shown above. A minimal, standards-compliant version looks like this:

{
  "name": "Example Website",
  "short_name": "Example",
  "start_url": "/",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#3182ce",
  "icons": [
    {
      "src": "/icon-192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/icon-512.png",
      "sizes": "512x512",
      "type": "image/png"
    },
    {
      "src": "/icon-512-maskable.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ]
}

The 192 px and 512 px icons are the minimum required by Chromium-based browsers. A maskable variant gives Android more room to apply its adaptive-icon shapes cleanly.

6. Why Favicons Matter

A few pixels of branding influence recognition, trust, and how easily people find your site among many open tabs.