Coder Perfect

What does property=”og:title” mean in the meta tag?

Problem

This is an excerpt from the website source code:

<meta content="This is a basic text" property="og:title" />

What is the meaning of this property attribute, and what is its purpose?

Asked by luca

Solution #1

One of the open graph meta tags is og:title. In a social graph, og:… properties describe objects. Facebook, for example, makes use of them.

og:title is the title of your item as it should appear in the graph (see http://ogp.me/ for further information).

Answered by Marek Musielak

Solution #2

You can define values for property fields that come from a property library using the property in meta tags. The head tag specifies the property library (RDFa format).

To utilize that code, for example, you’d need something like this in your head tag: xmlns:og=”http://example.org/”>head xmlns:og=”http://example.org/”>head xmlns:og=”http://example.org/”>head xmlns:og=”http://exa and there would be a title specification inside the http://example.org/ (og:title).

The tag in your case almost certainly came from the Open Graph Protocol, which is used to describe structured information about your website for Facebook use (and possibly other search engines).

Answered by Neddy

Solution #3

When a page is shared, you can have some control over how information gets from a third-party website to Facebook (or liked, etc.). Information is transmitted using Open Graph meta tags in the head> section of the website’s code to make this happen.

Answered by ArunValaven

Solution #4

For Facebook, it’s most likely part of the Open Graph Protocol.

Edit: I’m guessing it’s not just Facebook – that’s just one example of how it’s used.

Answered by Shadow Wizard Hates Omicron

Post is based on https://stackoverflow.com/questions/6535405/what-is-the-attribute-property-ogtitle-inside-meta-tag