Favicon w3schools code example
Example 1: favicon HTML
<link rel="icon" href="yourIcon.png" type="image/png">
Example 2: html set icon
<link rel="icon" href="http://example.com/favicon.png">
Example 3: favicon in html
<link rel="icon" href="image.jpg" type="image/jpg">
Example 4: add favicon html
<link rel="icon" type="image/png" href="/favicon.png"/>