Changing in the top of the browser using HTML (favicon)

ⅰ亾dé卋堺 提交于 2019-12-01 18:01:37

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">

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

This is the Favicon. Have a look at the whikipedia article: http://en.wikipedia.org/wiki/Favicon

Have an image in ico format with name favicon.ico in the root of your site. Search for favicon.ico for more information.

It's called a favicon.

<link rel="shortcut icon" href="http://www.example.com/myicon.ico">
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!