HTML TutorialLesson 17Free preview
HTML Favicon
This lesson is part of HTML · All levels
Summary
Favicon is a small icon that appears in the browser tabs, bookmarks, and address bar as a site's identity marker. Favicon is defined in the <head> section using the <link> element with the rel="icon" and the href attribute to the image file. Common favicon formats are .ico, .png, or SVG, and some browsers support emoji as a practical icon.
Key points
- Favicon is a small site marker icon in the browser tab
- Defined in <head> by <link rel="icon" href="...">
- Common formats: .ico, .png, and SVG
- Favicon.ico in the root of the site is often automatically detected by the browser
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.