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