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