adding a favicon in html
snippet in html

how to add favicon in html

user7231

<link rel="shortcut icon" type="image/png" href="Link to the image"/>

html favicon

user7725

<link rel="shortcut icon" type="image" href="./favicons/examplefavicon.ico" />

adding a favicon in html

user9752

<link rel="icon" type="image/png" href="/favicon.png"/>

adding a favicon in html

user5983

<link rel="icon" type="image/png" href="/favicon.png"/>
<link rel="icon" type="image/png" href="https://example.com/favicon.png"/>