HTML Favicon
A favicon is a small image displayed next to the page title in the browser tab.
You can use any image you like as your favicon. You can also create your own favicon on sites
like https://favicon.cc.
A favicon image is displayed to the left of the page title in the browser tab, like this:

To add a favicon to your website, either save your favicon image to the root directory of your webserver, or create a folder in the root directory called images, and save your favicon image in this folder. A common name for a favicon image is "favicon.ico".
Example
<html>
<head>
<title>Page Title Example</title>
<link rel="icon" type="image/x-icon"href="/images/favicon.ico/">
</head>
<body>
<h1>Heading Example</h1>
<p>Pragraph Example</p>
</body>
</html>