TIL you can use emojis as favicons

April 1, 2024 · 1 min read

Many browsers now support SVGs as favicons. With an SVG <text> element, you can use an emoji as a favicon:

<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎯</text></svg>">
Phil-Bastian Berndt
About me

Software engineer with a passion for functional programming. Tech Lead at Naymspace. Let's connect!