fav icon code html code example
Example 1: favicon html link
<link rel="shortcut icon" href="http://example.com/favicon.ico" />
Example 2: html favicon
<link rel="shortcut icon" type="image/png" href="http://example.com/favicon.png"/>
Example 3: 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"/>