how to put favicon code example

Example 1: add favicon to html

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

Example 2: html favicon

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

Example 3: how to add favicon in html

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

Example 4: favicon for html page

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

Example 5: set icon for html page tab

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

Example 6: how to add a favicon to html

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

Tags:

Html Example