Join WhatsApp ChannelJoin Now

How to add favicon icon in HTML ?

In this article, we will show you How to add favicon icon in HTML. This article will give you simple example of How to add favicon icon in HTML. you will learn How to add favicon icon in HTML.

How to add favicon icon in HTML ?

<!-- How to add favicon icon in HTML ? -->
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
          
        <title>Codeplaners favicon icon</title>
          
        <!-- add favicon icon link -->
        <link rel="icon" href="https://codeplaners.com/wp-content/uploads/2020/09/cropped-favicon-social-180x180.png" type="image/x-icon">
          
    </head>
      
    <body>
        <h1 style="color:red;">CodePlaners</h1>
          
        <p>CodePlaners favicon icon added in title bar</p>
    </body>
</html>            

Recommended Posts