html browser icon code example
Example 1: html set icon
<link rel="icon" href="http://example.com/favicon.png">
Example 2: favicon for html page
<link rel="icon" type="image/png" href="/favicon.png"/>
<link rel="icon" type="image/png" href="https://example.com/favicon.png"/>
Example 3: how to add an icon to your html website
<link rel="shortcut icon" href="http://sstatic.net/stackoverflow/img/favicon.ico">