html tab icon
<link rel="icon" type="image/png" href="img/icon.png">
Source:de.godaddy.com
html favicon
Source:stackoverflow.com
add favicon html
<link rel="icon" type="image/png" href="/favicon.png"/>
How to add a browser tab icon (favicon)?
<link rel="icon" href="http://example.com/favicon.png">
how to change tab icon in html
<link rel="shortcut icon" href="http://sstatic.net/stackoverflow/img/favicon.ico">
Source: stackoverflow.com