简体   繁体   中英

Favicon does not appear in browser tab

sorry for a bit newbie question. (New to JS & HTML )

I created a small website ( link ) and I added a favicon. Problem is, for some reason it does not show up when I enter the website. The html tag which I added is:

<link rel='icon' href='image/favicon.ico' type='image/x-icon'>

The file image/favicon.ico exists.

Tried to search for a solution via this forum, but didn't find any.

Maybe the HTML tag isn't right? Or maybe its the problem with the domain? if so, how to handle this issue?

Try using <link rel="shortcut icon" href="...">

Make sure you put it in the <head></head> section underneath the <title></title> .

Hopefully that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM