html icon from png code example
Example 1: head icon html
<link rel="icon" href="http://example.com/favicon.png">
Example 2: favicon in html document
<link rel="shortcut icon" type="image/png" href="http://example.com/favicon.png"/>
<link rel="icon" href="http://example.com/favicon.png">
<link rel="shortcut icon" type="image/png" href="http://example.com/favicon.png"/>