How to remove favicon from an HTML page?

Asked

Viewed 679 times

0

I put an icon in the tab of my browser using the icon tag in the head only when I delete this tag the image remains there, still updating even closing and opening again the browser it remains there and I have done it with other documents and it happens the same thing, would be how the browser saves the image. someone explain to me why this happens?

1 answer

1

In addition to removing the <link rel="icon" href=""/> of your html. Delete the file .ico or favicon.png from the root of your website. The browser may end up using this file by default even if you do not make the declaration in html, as in the case of direct requests to static resources.

  • Yes, I tried that but the browser persists with the image. It would be almost the same if you use "locaStorage" to store data on the pc and can only be removed using "removeItem()" even if you delete "localStorage" from the code. Only the browser seems to do that to the image. I have tried everything that is (way) more continuous with the image there I do not know if it is some error, bug in Chrome or some function that makes this happen because I tested the code without the "favicon" in other browsers and they are normal without the icon if I put the "favicon" appears good only that in Chrome it makes me either put or remove.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.