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