how to add favicon in html
snippet in html

favicon HTML

user9045

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

html favicon

user7840

<head>
  <title>Webpage</title>
  <link rel="icon" type="image/gif/png" href="favicon.png">
</head>

html favicon

user9620

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

how to add favicon in html

user2948

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

add favicon to html

user2948

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

html favicon

user6155

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