Ask coding questions

← Back to all posts
HTML HELP: how do you change the icon in the tab???
DimitriusLeal (4)

how do you change the icon in the tab???

Answered by Pythonier (316) [earned 5 cycles]
View Answer
Comments
hotnewtop
Pythonier (316)

Change the href in the code to the image you want:

<link rel="icon" type="image/png" href="favicon.png">

------------------------------------------------------------^----------

mat1 (4428)

Those are called Favicons.
You can set them in your html by adding this to your <head>:

<link rel="shortcut icon" href="/myicon.ico">

You can use this tool to generate Favicons.

Please upvote my comment if it helped you. Thanks!

[deleted]
<link href="filename" rel="icon">

Oh someone already did this

katyadee (1288)

Hey there, in the future make sure your subject line reflects a bit about your question. It makes it easier for our community to help you!