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