How do i add favicon in my html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do i add favicon in my html?

What is the code to add a favicon on html?

23rd Jun 2020, 9:05 AM
Pallab Kumar Nakti
Pallab Kumar Nakti - avatar
1 Answer
+ 2
Hi, Access the code of your webpage and in the <HEAD> section add the following code: <link rel='icon' href='favicon.ico' type='image/x-icon'/ > That’s it, save your page and access it in a web-browser. The favicon should now appear in the tab, next to the page title. For more information refer following site: https://stackoverflow.com/questions/9943771/adding-a-favicon-to-a-static-html-page
23rd Jun 2020, 9:33 AM
AjayGohil