how to import favicon in html code example

Example 1: add favicon to html

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

Example 2: how to add favicon in html

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

Example 3: html favicon

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

Example 4: adding a favicon in html

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

Example 5: how to add a favicon to html

<link rel='icon' href='favicon.ico' type='image/x-icon'/ >

Tags:

Go Example