Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is <link rel="icon" type="image/x-icon"> used for?

I am trying to create a website and I have been looking at coded websites that are currently uploaded and that has appeared and I have never seen it before.

Could someone please explain what it is for and if I need it or not?

like image 907
Chris Hapeshis Avatar asked Oct 19 '25 05:10

Chris Hapeshis


1 Answers

It defines this little picture which is commonly called the "favicon". Its that little icon on the left side of a tab or a browser window:

enter image description here

But the tag you wrote in your question doesnt affect anything because its missing a reference to the icon itself: href="favicon.ico".

like image 92
Tom Doodler Avatar answered Oct 21 '25 17:10

Tom Doodler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!