问题
How do you change the small image showed in a browsers tab when viewing image using HTML? Sorry, I am new to programming.

The small image is what I am talking about.
回答1:
it's called a favicon:
place the favicon.ico file in the www root and use the following code:
<link rel="shortcut icon" href="/favicon.ico">
回答2:
Merry Christmas Dear, here's your solution:
Insert the following line in <head>
tag
<link href="Images/tsp1.png" rel="shortcut icon" type="image/x-icon" />
Replace Images/tsp1.png
with a image of your choice, make it somting like a 16x16 image
回答3:
This is the Favicon. Have a look at the whikipedia article: http://en.wikipedia.org/wiki/Favicon
回答4:
Have an image in ico format with name favicon.ico in the root of your site. Search for favicon.ico for more information.
回答5:
It's called a favicon.
<link rel="shortcut icon" href="http://www.example.com/myicon.ico">
来源:https://stackoverflow.com/questions/4531976/changing-in-the-top-of-the-browser-using-html-favicon