What is the attribute property=“og:title” inside meta tag?

后端 未结 4 790
难免孤独
难免孤独 2021-01-29 20:09

I have this extract of website source code:


What does this proper

4条回答
  •  臣服心动
    2021-01-29 20:55

    The property in meta tags allows you to specify values to property fields which come from a property library. The property library (RDFa format) is specified in the head tag.

    For example, to use that code you would have to have something like this in your tag. and inside the http://example.org/ there would be a specification for title (og:title).

    The tag from your example was almost definitely from the Open Graph Protocol, the purpose is to specify structured information about your website for the use of Facebook (and possibly other search engines).

提交回复
热议问题