how to set favicon code example

Example 1: add favicon to html

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

Example 2: favicon in html

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

Example 3: html favicon

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

Example 4: add icon website

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

Example 5: how to set favicon

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

Example 6: how to set the favicon of the webpage

<link rel="shortcut icon" type="image/jpg" href="path/of/the/image">