A favicon is a small image displayed with page title in the browser.
It is used by <link> tag in head.
Example
<!Doctype Html>
<html>
<head>
<title>Favicon</title>
<link href="/favicon.ico" type="image/x-icon" rel="icon" />
</head>
<body>
<p style="color:red;">This is a paragraph.</p>
<p style="color:green;">This is a paragraph.</p>
</body>
</html>
Output
This is a paragraph.
This is a paragraph.
Copyright ©2022 coderraj.com. All Rights Reserved.