πŸ”–
Websites

Favicon: the little logo in the browser tab

01.03.2026
← All articles

A favicon is the small icon shown in the browser tab, bookmarks and search results. Just 16x16 or 32x32 pixels, but your brand appears in every tab. A site without a favicon looks empty and unprofessional.

Why it matters

1) Branding β€” your logo in every tab. 2) Users find you among many tabs. 3) Trust. 4) Mobile β€” the app icon on "Add to Home Screen". 5) Shown in Google's mobile results.

Required sizes

1) 16x16, 32x32 β€” browser tab. 2) 180x180 β€” Apple touch icon (iOS). 3) 192x192, 512x512 β€” Android/PWA. 4) favicon.ico β€” old browsers.

Design rules

1) Simple β€” details aren't visible at small size. 2) The most recognizable part of your logo. 3) NO full text. 4) High contrast. 5) Transparent background (PNG).

Tools

1) favicon.io β€” from text, emoji or image. 2) realfavicongenerator.net β€” the most complete. 3) Figma/Canva.

Linking in HTML

<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">

SVG favicon β€” modern

Modern browsers support SVG favicons β€” sharp at any size, small file.

Dark mode favicon

In dark mode the favicon can adapt via @media (prefers-color-scheme: dark) inside the SVG.

Checking

1) Visible in the tab? 2) realfavicongenerator checker. 3) "Add to Home Screen". 4) Clear cache after changing.

Common mistakes

1) Only favicon.ico. 2) Too complex a design. 3) Wrong size. 4) File not in the root.

Sayt.uz practice

Sayt.uz has a full favicon set: tab, Apple touch, Android, SVG.

Related articles

πŸ˜• Useful 404 pages πŸ’¬ Adding live chat and a chatbot to your site πŸ’ͺ Gym website: booking πŸŽ“ School/University site structure
🌐 Language
πŸ‡ΊπŸ‡Ώ O'zbek πŸ‡ΊπŸ‡Ώ ЎзбСк πŸ‡·πŸ‡Ί Русский πŸ‡¬πŸ‡§ English βœ“