---
id: html-favicon
title: "HTML Favicon"
category: "Frontend"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["favicon", "link rel icon", "favicon.ico", "browser tab icon", "site icon"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.88
created_at: 2026-06-23
updated_at: 2026-06-23
review_reason: ""
merge_history: []
tags: ["html", "web", "frontend", "w3schools", "favicon", "head"]
raw_sources: ["https://www.w3schools.com/html/html_favicon.asp"]
applied_in: []
github_commit: ""
---
# [[HTML Favicon]]
## π― ν μ€ ν΅μ°° (One-line insight)
A favicon is a small image displayed next to the page title in the browser tab, added by placing a `` element in the document's `
`. [S1]
## π§ ν΅μ¬ κ°λ
(Core concepts)
- **What a favicon is** β a small image displayed next to the page title in the browser tab. [S1]
- **Design guidance** β since a favicon is a small image, it should be a simple image with high contrast. [S1]
- **How to add it** β use the HTML `` element inside the `` section (after the `` element); favicons can be sourced from sites like favicon.cc or custom-created. [S1]
- **File placement** β put the favicon in the site's root directory or an `/images` folder. [S1]
- **Format support** β ICO, PNG, GIF, JPEG, and SVG favicon formats are supported across Edge, Chrome, Firefox, Opera, and Safari. [S1]
## π§© μΆμΆλ ν¨ν΄ (Extracted patterns)
- **Favicon link pattern** β `` placed in ``. [S1]
- **Head-placement pattern** β the `` goes after the `` element. [S1]
## π μΈλΆ λ΄μ© (Details)
A favicon is a small image displayed next to the page title in the browser tab. [S1]
**Adding a favicon**
Favicons can be sourced from sites like favicon.cc or custom-created images. A favicon is a small image, so it should be a simple image with high contrast. Place the favicon in your site's root directory or an `/images` folder, then add a `` element to your HTML `` section after the `` element. [S1]
```html
My Page Title
This is a Heading
This is a paragraph.
```
**Supported favicon file formats**
The guide includes a compatibility matrix showing support across Edge, Chrome, Firefox, Opera, and Safari: [S1]
| File format | Edge | Chrome | Firefox | Opera | Safari |
|---|---|---|---|---|---|
| ICO | Yes | Yes | Yes | Yes | Yes |
| PNG | Yes | Yes | Yes | Yes | Yes |
| GIF | Yes | Yes | Yes | Yes | Yes |
| JPEG | Yes | Yes | Yes | Yes | Yes |
| SVG | Yes | Yes | Yes | Yes | Yes |
**Key takeaway** β use the HTML `` element to insert a favicon within your document's head section. [S1]
## π οΈ μ μ© μ¬λ‘ (Applied in summary)
The full HTML document with the favicon `` above is the canonical applied example from the source. No external project/commit applications found in the source.
## π» μ½λ ν¨ν΄ (Code patterns)
Favicon link in head (HTML):
```html
My Page Title
```
## βοΈ λͺ¨μ λ° μ
λ°μ΄νΈ (Contradictions & updates)
No contradictions found in the source.
## β
κ²μ¦ μν λ° μ λ’°λ
- **μν:** draft
- **κ²μ¦ λ¨κ³:** conceptual (μ€μ μ μ© μ¬λ‘ λ°κ²¬ μ applied/validatedλ‘ μΉκ²© κ°λ₯)
- **μΆμ² μ λ’°λ:** B (W3Schools β widely used educational reference, not a primary standards body)
- **μ λ’° μ μ:** 0.88
- **μ€λ³΅ κ²μ¬ κ²°κ³Ό:** μ κ· μμ± (New discovery)
## π μ§μ κ·Έλν (Knowledge Graph)
- **μμ/루νΈ:** [[HTML Tutorial]]
- **κ΄λ ¨ κ°λ
:** [[HTML Page Title]], [[HTML Images]], [[HTML Head]], [[HTML Introduction]]
- **μ°Έμ‘° λ§₯λ½:** Referenced when branding a page in the browser tab and bookmarks via a small icon.
## π μΆμ² (Sources)
- [S1] W3Schools β HTML Favicon β https://www.w3schools.com/html/html_favicon.asp
## π λ³κ²½ μ΄λ ₯ (Change history)
- 2026-06-23: Initial draft synthesized from the W3Schools "HTML Favicon" page (Astra wiki-curation, P-Reinforce v3.1 format).