什么是< link rel =" image_src"> [英] What is <link rel="image_src">
问题描述
今天我遇到了一个< link rel =image_src>
标签。我不知道,所以我使用谷歌。谷歌告诉我这个标签类似于 og:image
。所以我来打开图形主站点阅读 http://ogp.me/ ,但我没有发现任何关于链接的rel = image_src
。所以这个标签是替代meta property =og:image
或者是在另一个规范中的特殊标签中? rel
如何使用这个标签或用于什么? 属性指定链接的类型,即文档和链接资源之间关系的类型。通常只使用几个关键字,如 stylesheet
和图标
。虽然许多其他关键字已被提出并注册,但其中大多数都是只写的:它们是为了表达某些内容,但没有人在意(没有软件使用这些信息)。
HTML5的扩展机制包括在链接类型的描述中,理论上,任何人都可以在现有的rel值wiki中注册他最喜欢的关键字< a>将它用作
Today I came across a <link rel="image_src">
tag. I don't know about it, so I use google. Google tell me that this tag are similar to og:image
. So I came to open graph main site to read about it http://ogp.me/, but i found nothing about link rel="image_src"
. So this tag is replacement to meta property="og:image"
or is in special tag in another specification ? How use this tag or for what is used?
The rel
attribute specifies the type of the link, i.e. the kind of the relationship between the document and the linked resource. Usually just a few keywords, like stylesheet
and icon
, are used. Although many other keywords have been proposed and registered, most of them are write-only: they are meant to express something, but nobody cares (no software uses the information).
The extension mechanisms of HTML5 include, in the description of link types, a somewhat obscure mechanism that allows, in theory, anyone register his favorite keyword in the existing rel values wiki to make documents using it as rel
value "conforming".
And image_src
has indeed been registered there, with the information that it is used to "specify a Webpage Icon for use by Facebook, Yahoo, Digg, etc.", no specification has been identified but an article about it is linked to, and it is "probably redundant with rel=icon".
这篇关于什么是< link rel =" image_src">的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!