Favicon toevoegen in HTML
Drie tags dekken 99 % van de gevallen. Twee extra geven je een volledige PWA-grade setup.
Controleer favicons op elke website
Installeer de FetchFavicon Chrome-extensie om favicons direct te extraheren, vooraf te bekijken en te valideren.
De minimale tag
<link rel="icon" href="/favicon.ico"> — dat is alles. Elke browser haalt het op.
De moderne aanbevolen set
Voeg SVG en apple-touch-icon toe voor scherpe weergave op elk platform:
<link rel="icon" href="/favicon.ico">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
PWA-installatieprompts
Voeg een manifest.json toe met 192×192- en 512×512-PNG-vermeldingen, en link met <link rel="manifest" href="/site.webmanifest">.
Platform Dimension Specifications & Compression Benchmark
Standard dimension requirements across search engines, mobile OS, and WebAssembly Oxipng lossless byte reduction.
| Target Platform / OS | Required Dimensions | Format & Delivery | Oxipng Wasm Weight | Byte Savings |
|---|---|---|---|---|
| Google Search SERP | 48×48 px (multiples of 48) | .ico, .png | 4.6 KB | -68.9% |
| Apple iOS / iPadOS Safari | 180×180 px | .png (apple-touch-icon) | 14.8 KB | -67.9% |
| Android Chrome & PWA | 192×192 px & 512×512 px | .png (site.webmanifest) | 59.1 KB | -69.3% |
| Windows Edge & Desktop | 16×16, 32×32, 48×48 px | Multi-resolution .ico | 8.8 KB | -69.5% |
| Legacy Web Browsers | 32×32 px / 16×16 px | .ico (/favicon.ico) | 3.1 KB | -67.0% |
* Benchmark measurements based on lossless RGBA Oxipng WebAssembly compression executing locally in modern web browsers.
Veelgestelde vragen
Wat is de minimale HTML-tag voor een favicon?
Voeg <link rel="icon" href="/favicon.ico"> toe in <head>. Plaats favicon.ico in de hoofdmap van uw site.
Heb ik aparte tags nodig voor PNG- en SVG-favicons?
Ja voor een moderne installatie. Koppel favicon.ico als fallback en voeg <link rel="icon" type="image/png"> en optioneel type="image/svg+xml" toe.
Waar moeten favicon-<link>-tags staan in HTML?
Binnen het <head>-element vóór </head>. De volgorde van de pictogramlinks maakt niet uit.
Heb ik een webmanifest nodig voor favicons?
Niet voor gewone tabbladen, maar voeg <link rel="manifest"> toe met 192×192 en 512×512 PNG's als u PWA-installaties wilt ondersteunen.