Home > Software engineering >  How can I fix my favicon link to make it work
How can I fix my favicon link to make it work

Time:03-20

Faulty

I am confused why my (line 4) is not working. I want to add favicon to my site. I don't think my address is wrong(you can check by seeing the document list on the left on picture attached) What's the problem? Please help me.

CodePudding user response:

Add

<link rel="icon" href="css-my-style/favicon.ico" />

CodePudding user response:

I believe you run into problems because your syntax is incorrect, try Instead of line 4:

<link rel="icon" type="image/x-icon" href="css-my-style/favicon.ico">

CodePudding user response:

Add the type of the icon (type="image/x-icon") in the tag.

<link rel="shortcut icon" href="css-my-site/favicon.ico" type="image/x-icon">
  • Related