html add a favicon code example
Example 1: add favicon to html
<link rel="icon" type="image/png" href="/favicon.png"/>
Example 2: how to add a favicon to html
<link rel='icon' href='favicon.ico' type='image/x-icon'/ >
<link rel="icon" type="image/png" href="/favicon.png"/>
<link rel='icon' href='favicon.ico' type='image/x-icon'/ >