How to add favicon to the web-site?

Favicon

Favicon is the shortcut icon or a small image that is associated with a particular website or webpage.

For example :- In the below snapshot we can see the favicon.

favicon.png

To add a favicon we need to add single line of code in the head section of the .aspx page.
 
<link rel="shortcut icon" href="~/images/favicon.ico"/>

Once we put the above line of code in the head section, our work is done.
 
We can also put it in the master page then automatically in all the content pages this favicon will get added up.
Ebook Download
View all
Learn
View all