how to add icon in website tab code example
Example 1: add tab icon html
<link rel="icon" href="http://example.com/favicon.png">
Example 2: 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 3: how to change tab icon in html
<link rel="shortcut icon" href="http://sstatic.net/stackoverflow/img/favicon.ico">