favicon code in html page code example
Example 1: favicon HTML
<link rel="icon" href="yourIcon.png" type="image/png">
Example 2: html favicon
<!-- Most Webbrowsers atomatically look for a favicon but you can also do this: -->
<head>
<title>Favicon Demo</title>
<link rel="icon" type="image/png" href="favicon.png">
</head>