Add a favicon in a website pages

A favicon is a small image file that represents a website, like a logo, it will show in browser tabs and it helps the site visitor to identify the your site tab if many tabs opened in same browser.  Add below script in head tag:-


if you are using .ico type file:-
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>

If you are using the png image then use the below format:-
<link rel="icon" type="image/png" href="favicon.png" />

 

Related Alrticles

FREE!!! Registration