How to Change Webpage/website's Icon/Favicon in HTML. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to Change Webpage/website's Icon/Favicon in HTML.

This is not a question actually. i want to share that how to done it. put the same in your HTML Code <head> <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> </head> // here favicon.ico can be replace with your image URL.

6th Oct 2016, 3:15 AM
Sanjit Patel
Sanjit Patel - avatar
2 Answers
+ 1
<head> <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> <title>My title</title> </head> You can also use .png format too : <link rel="shortcut icon" type="image/png" href="fav.png"/>
27th Sep 2016, 7:08 AM
Sanjai Mampala
Sanjai Mampala - avatar
+ 1
Looking for upvots ;)
27th Sep 2016, 2:11 PM
Driss Baidou
Driss Baidou - avatar