Favicon isn't showing

Fulgut98

I have a website, where I am trying to make a favicon. Only problem is, it isn't showing up. On my local host it just shows a cloud thing and on the page open using the html file it just shows the regular white page on all sites without a favicon.

This is how I am trying to implement it.

<link rel="icon" type="image/icon" href="http://www.mywebsite.com/myfavicon.ico"/>

<link rel="stylesheet" type="text/css" href="mainColorTest.css" />

Mehdi Sabouri

I do this without writing a single line of code, and it always works.

just make sure the format of file is png, and it is exactly 16X16 pixels. then rename it exactly to 'favicon.ico' and put it on the root directory of your website.

your browser will automatically fetch the icon and use it wherever it needs. you may need to use ctrl+F5 on your browser to see the effect, (it makes a deeper refresh)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related