html custom tab icon with local png code example
Example 1: add icon to website tab
Convert your image to .ico (use https://hnet.com/png-to-ico/)
Rename your ico to favicon
add this to the <head>: <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
Example 2: set icon for html page tab
<link rel="icon" href="http://example.com/favicon.png">