网站图标(又名favicon) [英] Website Icons (aka favicons)

查看:84
本文介绍了网站图标(又名favicon)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

确定。我想一劳永逸地解决这个问题。在查看来源

之后,各种相当大的(但不是全部都很大)网站

使用地址栏旁边显示的图标。


几乎所有使用上述图标的网站都使用这两种方法中的一种

(有些甚至使用两种方法)使它们出现(在代码中)网页。):


< LINK REL =" icon" HREF =" /icon.ico" TYPE =" image / ico"

< LINK REL =" SHORTCUT ICON&qu​​ot; HREF =" /icon.ico">


我的问题是这个。这些方法中的一种更正确(或标准)

?是否更好地使用它们,或者jsut其中之一?可能有另一种

方法吗?


谢谢。

Ok. I want to settle this once and for all. After looking at the source
for various, rather sizeable (but not all were so big) web sites that
use icons that show up in the addressbar beside the address itself.

Just about all websites that use said icons use one of these two methods
(some use both even) to make them appear (in the code of a webpage.) :

<LINK REL="icon" HREF="/icon.ico" TYPE="image/ico">
<LINK REL="SHORTCUT ICON" HREF="/icon.ico">

My question is this. Is one of these methods more correct (or standard)
? Is it better to use both, or jsut one of these? Is there maybe another
method??

Thank you.

推荐答案

在comp.infosystems中。 www.authoring.html Crom说:
In comp.infosystems.www.authoring.html Crom said:
好的,




不是没有


在多个人之间共享消息的可接受方式是什么新闻组?
http://smjg.port5.com/ faqs / usenet / xpost.html

-

由brucies表达的事实和意见

littlevoices

不一定与brucie持有的相同。



no its not

What is the accepted way to share a message across multiple newsgroups?
http://smjg.port5.com/faqs/usenet/xpost.html
--
the facts and opinions expressed by brucies
l i t t l e v o i c e s
are not necessarily the same as those held by brucie.


" brucie" < SH ** @ usenetshit.info>在消息中写道

news:ln ************** @ usenetshit.info ...
"brucie" <sh**@usenetshit.info> wrote in message
news:ln**************@usenetshit.info...
在comp.infosystems中。 www.authoring.html Crom说:
In comp.infosystems.www.authoring.html Crom said:
好的,
没有它不是

在多个
Ok,
no its not

What is the accepted way to share a message across multiple



新闻组中分享消息的可接受方式是什么? http://smjg.port5.com/faqs/usenet/xpost。 html




是的,如果你的服务器没有拒绝

新闻组行中超过1组的帖子。 ..



Yes, If your server doesn''t reject posts with more than 1 group in the
newsgroups line...


在comp.infosystems中。 www。 authoring.html Crom说:
In comp.infosystems.www.authoring.html Crom said:
< LINK REL =" icon" HREF =" /icon.ico" TYPE =" image / ico">
< LINK REL =" SHORTCUT ICON&qu​​ot; HREF =" /icon.ico">

我的问题是这个。其中一种方法更正确(或标准)
<LINK REL="icon" HREF="/icon.ico" TYPE="image/ico">
<LINK REL="SHORTCUT ICON" HREF="/icon.ico">

My question is this. Is one of these methods more correct (or standard)




唯一的标准是< link>的正确语法元素,其他

比它对每个UA要用它做什么,如果有的话。

http://www.w3.org/TR/html401/struct/...html#edef-链接


-

由brucies表达的事实和意见

littlevoices

不一定与brucie持有的相同。



the only standard is the correct syntax for the <link> element, other
than that its up to each UA what they want to do with it, if anything.

http://www.w3.org/TR/html401/struct/...html#edef-LINK

--
the facts and opinions expressed by brucies
l i t t l e v o i c e s
are not necessarily the same as those held by brucie.


这篇关于网站图标(又名favicon)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆