I am creating an HTML page. I am not close to completion anywhere and therefore should not pay too much attention to the next issue at the moment. But I'm confused by why my shortcut code is not working. I test everything by putting all the files in the same folder (offline, without servers or anything like that)
Code
<link rel="SHORTCUT ICON" type="image/x-icon" href="favicon.ico">
I tried with various ico files and it will only work with ico uploaded to the site. For example, the following code will work.
<link rel="SHORTCUT ICON" type="image/x-icon" href="\WEBSITEFOLDER\favicon.ico">
source share