Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is <link rel="image_src">

Tags:

html

xhtml

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?

like image 275
Heroes84 Avatar asked Oct 09 '13 14:10

Heroes84


People also ask

What does rel in link mean?

The rel attribute specifies the relationship between the current document and the linked document. Only used if the href attribute is present. Tip: Search engines can use this attribute to get more information about a link!

What does link rel stylesheet do?

The REL attribute is used to define the relationship between the linked file and the HTML document. REL=StyleSheet specifies a persistent or preferred style while REL="Alternate StyleSheet" defines an alternate style. A persistent style is one that is always applied when style sheets are enabled.

Why link rel is used in HTML?

Definition and Usage The required rel attribute specifies the relationship between the current document and the linked document/resource.

When should I use link rel?

The HTML rel attribute is used to specify the relationship between the current and the linked document. It is used only when href attribute present. alternate: It specifies the alternative link of the document(i.e. print page, translated or mirror). prefetch: It specifies that the target document should be cached.


2 Answers

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

like image 123
Jukka K. Korpela Avatar answered Oct 09 '22 12:10

Jukka K. Korpela


You can use this tag to use an image as the thumb for link share.

like image 32
Adler Avatar answered Oct 09 '22 11:10

Adler