HTML Favicon
HTML Favicon
A favicon is a small icon displayed in the browser tab, bookmarks, or address bar of a website. It helps identify the website visually.
The favicon is added inside the <head> section of your HTML page using the <link> tag.
Example Code
Supported File Types
-
.ico(Most common) -
.png -
.jpg -
.svg
Example with PNG File
Tips
✔ Recommended favicon size: 16×16 or 32×32 pixels
✔ Save the favicon file in your website root folder for easy access
Using a favicon makes your website look more professional and recognizable.
