I have done a lot of digging, but I can't seem to get a favicon working for IE11. I can get one working in Chrome and Firefox though.
Here is the head of my file:
<head>
<title>Home</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="../jquery.min.js"></script>
<script src="../levelOneImports.js"></script>
<link rel="shortcut icon" href="../Iconleak-Cerulean-Science-chemistry.ico" type="image/x-icon">
</head>
Here are the different approaches I've tried:
- I have a favicon (ico and png) that I created, but after I couldn't get it to work, I just tried downloading ones to test off of the internet (here is one).
- I read in another post that IE11 should support png favicons, so I tried using a png file rather than an ico file.
- I read in another post that the image should not be in a subfolder, so I changed the location and put it in the root.
- I read that the image needed to 16x16, so I tried creating a ico file that had those dimensions. I also tried downloading a png file with those dimensions.
- I tried clearing the IE cache. I also tried clearing the cache and restarting the browser.
- The latest code solution is the one I tried above (from this post here).
- I also tried this:
<link rel="icon" type="image/png" href="../logo.png">
using the solution from the post here.
I am not sure what I could be doing wrong. Any suggestions? If you could provide an example of some code where it works in IE too, that would be great.
Don't know if this helps, but I'm not too concerned with anything prior to IE11.