What is <link rel=“image_src”>

前端 未结 3 2105
刺人心
刺人心 2021-01-03 17:19

Today I came across a tag. I don\'t know about it, so I use google. Google tell me that this tag are similar to og:image

3条回答
  •  抹茶落季
    2021-01-03 17:59

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

提交回复
热议问题