linnk rel icon type code example
Example 1: favicon in html
<link rel="icon" href="image.jpg" type="image/jpg">
Example 2: html favicon.ico
<! -- For .ico files -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<! -- For .jpg/.gif/.png files -->
<link rel="icon" type="image/gif/png" href="favicon.png">