how to change your icon in html code example
Example 1: how to change tab icon in html
<link rel="shortcut icon" href="http://sstatic.net/stackoverflow/img/favicon.ico">
Example 2: how to add icon to custom page tab
<link rel="icon" href="http://example.com/favicon.png">