My project is a portfolio site hosted on GitHub Pages with all images hosted on my University server. address is säll.com
The problem I have is that in my main branch, I have an index.html file with this code for the favicon
<link rel="icon" type="image/png" href="https://people.kth.se/~dsall/favicon.png?"/>
As you can see if you go to säll.com, it's not showing up. However, on for example säll.com/alunskar I have the exact same code and it shows up.
What am I doing wrong? I tried the thing with adding a question mark, the x-ico thing.
<p><html>
<head>
<link rel="icon" type="image/png" href="https://people.kth.se/~dsall/favicon.png?"/>
</head>
<body>
<p>hey</p>
</body>
</html>
Your
<link rel='icon' ...>tag appears in the<body>element of the linked site.While some
<link>tags can appear here and be considered syntactically valid, theiconrelationship must appear in the<head>.MDN has a helpful summary on their page for
<link>:See the relevant HTML spec; note that
iconis not "body-ok".