how to set favicon

CSS
<link rel="icon" href="image.jpg" type="image/jpg"><link rel="shortcut icon" type="image/jpg" href="/favicon.jpg"/><link rel="icon" type="image/png" href="/favicon.png"/>
Source

Also in CSS: