Practice · Technical

Pick the tag that sets a favicon

Technical Low at worst 13 of 30

Try it yourself

Four lines from four sites' <head>, each meant to put an icon on the browser tab.

Which one actually does it?

Pick a line. Every one of them has an answer.

Show me the answer

<link rel="icon" href="/favicon.ico">

This is the one. The modern keyword, understood everywhere. Browsers also look for /favicon.ico automatically, so putting the file at the root covers you even if the tag goes missing.

The written version

The small icon on the browser tab →

How to check your own site for this, what to change, and how to confirm it worked.

Now the real thing

Run this check on your own site.

The same check, plus twenty-nine others, against your actual pages. Free, no account, about a minute.

Free · No account · Results in under a minute · Public websites only