set favicon for a site code example
Example 1: how to set favicon
<link rel="shortcut icon" type="image/jpg" href="/favicon.jpg"/>
Example 2: how to set the favicon of the webpage
<link rel="shortcut icon" type="image/jpg" href="path/of/the/image">