how to add image in title of html
snippet in html

html icon title

user3767

<link rel="icon" href="icon_path" type="image/icon type">

how to add image in title of html

user6999

<!-- HTML code to add icon in the title bar -->
<!DOCTYPE html> 
<html> 
    <head> 
        <meta charset = "utf-8"/> 
        <title>HTML icon</title> 
         <!-- add icon link -->
        <link rel = "icon" href ="https://unsplash.com/photos/bpJ8qeyo1-w"
              type = "image/x-icon">       
    </head> 
      
    <body> 
        <h1 style = "color:green;">ADDING WEBSITE ICON </h1> 
          <p>New icon added in the title bar</p> 
    </body> 
</html>                     

how to add a title picture in html

user2388

<link rel = "icon" type = "image/png" href = "name-of-image.png">

how to add image in title bar

user323

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