set icon for website code example
Example 1: add favicon to html
<link rel="icon" type="image/png" href="/favicon.png"/>
Example 2: html set icon
<link rel="icon" href="http://example.com/favicon.png">
Example 3: how to add a logo to website icon
<head>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>