什么是< link rel =" image_src"> [英] What is <link rel="image_src">

查看:192
本文介绍了什么是< 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>将它用作 rel valueconforming。

确实已经在那里注册了,它的信息被用来指定一个供Facebook,Yahoo,Digg等使用的网页图标,没有确定任何规范,但是有关它的链接文章,它是可能与rel = icon重复。


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

这篇关于什么是&lt; link rel =&quot; image_src&quot;&gt;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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