I would like to have my site’s logo shown in the icon area of the title rather than the default white document. Exactly as Stack Overflow has it.
我希望我的网站的徽标显示在标题的图标区域而不是默认的白色文档中。正如Stack Overflow所拥有的那样。
5 个解决方案
#1
65
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
add this to your HTML Head. Of course the file "favicon.ico" has to exist. I think 16x16 or 32x32 pixel files are best.
将其添加到您的HTML头。当然,文件“favicon.ico”必须存在。我认为16x16或32x32像素文件是最好的。
Regards.
问候。
#2
14
this is an interesting question so let check it if you have a image for use as a website-icon then
这是一个有趣的问题,所以如果你有一个用作网站图标的图像,请检查它
Add this to your script
将其添加到您的脚本中
<link rel="icon" type="image/gif" href="animated_favicon1.gif" />
otherwise if you have a icon for your website icon then you chose
否则,如果您的网站图标有图标,那么您选择了
<link rel="shortcut icon" href="favicon.ico" />
I always use http://www.iconspedia.com/ for more icons
我总是使用http://www.iconspedia.com/获取更多图标
if my answer solved your problem then give me vote ok
如果我的答案解决了你的问题然后给我投票好
#3
7
They're called favicons, and are quite easy to make/use. Have a read of http://www.favicon.com/ for help.
它们被称为favicons,并且很容易制作/使用。请阅读http://www.favicon.com/以获取帮助。
#4
5
Apparently you can use this trick.
显然你可以使用这个技巧。
<title>???? My title</title>
That icon-alike is actually a text.
这个图标实际上是一个文本。
#1
65
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
add this to your HTML Head. Of course the file "favicon.ico" has to exist. I think 16x16 or 32x32 pixel files are best.
将其添加到您的HTML头。当然,文件“favicon.ico”必须存在。我认为16x16或32x32像素文件是最好的。
Regards.
问候。
#2
14
this is an interesting question so let check it if you have a image for use as a website-icon then
这是一个有趣的问题,所以如果你有一个用作网站图标的图像,请检查它
Add this to your script
将其添加到您的脚本中
<link rel="icon" type="image/gif" href="animated_favicon1.gif" />
otherwise if you have a icon for your website icon then you chose
否则,如果您的网站图标有图标,那么您选择了
<link rel="shortcut icon" href="favicon.ico" />
I always use http://www.iconspedia.com/ for more icons
我总是使用http://www.iconspedia.com/获取更多图标
if my answer solved your problem then give me vote ok
如果我的答案解决了你的问题然后给我投票好
#3
7
They're called favicons, and are quite easy to make/use. Have a read of http://www.favicon.com/ for help.
它们被称为favicons,并且很容易制作/使用。请阅读http://www.favicon.com/以获取帮助。
#4
5
Apparently you can use this trick.
显然你可以使用这个技巧。
<title>???? My title</title>
That icon-alike is actually a text.
这个图标实际上是一个文本。