5

Simple question:

Do I need this:

<html prefix="og: http://ogp.me/ns#">

To use this:

<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />

Why?

cbdeveloper
  • 27,898
  • 37
  • 155
  • 336
  • If you don't add prefix it doesn't show up properly on LinkedIn as per https://stackoverflow.com/questions/10042786/how-to-successfully-implement-ogimage-for-the-linkedin – Chirag Aug 10 '20 at 05:15

1 Answers1

0

NO, it's not mandatory to use the tag.

<html prefix="og: http://ogp.me/ns#">

Instead. You can use:

<html dir="ltr" lang="no" prefix="og: http://ogp.me/ns#">

Just like it was used in nopiamanual.com website.

F. Müller
  • 3,969
  • 8
  • 38
  • 49