Ask coding questions

← Back to all posts
0xmmalik (10)

How do I include a favicon in my Repl? I have tried: <link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />.

hcahoon01 (28)

You might need to use this version:

<link rel="shortcut icon" href="/favicon.ico" />
0xmmalik (10)

I'm assuming it takes some time for the icon to appear, so this might be the issue.

0xmmalik (10)

I was right; it shows up now...

CodeLongAndPros (1596)

With a html site, place faivcon.ico in the project root.

RahulChoubey1 (148)

@CodeLongAndPros I have favicon.ico in my project but can't edit it.