html tab icon code example

Example 1: add tab icon html

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

Example 2: html favicon

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

Example 3: add favicon html

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

Example 4: html tab icon

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

Example 5: how to change tab icon in html

<link rel="shortcut icon" href="http://sstatic.net/stackoverflow/img/favicon.ico">

Tags:

Misc Example