Example

Favicon in HTML

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Favicon in HTML</title>
    <link
        name="favicon"
        rel="shortcut icon"
        type="image/x-icon"
        href="https://skillzam.com/uploads/system/e353194f3b7cd1b75d69c3ab88041985.png"
    />
</head>
<body>
<!--
    Favicon : is a small image displayed to the left of the page title in the browser tab.
    <link> element is used to insert a favicon.    
-->    
    <h1>Demo: Favicon in HTML</h1>
    <p>Please note the Skillzam image displayed next to the page title in the current browser tab. </p>
</body>
</html>
                    

Output

View original