html og meta tags code example

Example 1: meta property="og:description"

<meta property="og:image" content="https://example.com/rock.jpg" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
<meta property="og:image" content="https://example.com/rock2.jpg" />
<meta property="og:image" content="https://example.com/rock3.jpg" />
<meta property="og:image:height" content="1000" />

Example 2: all meta og tags

<meta property="og:type" content="article" />

Example 3: all meta og tags

<meta property="og:url" content="https://ahrefs.com/blog/open-graph-meta-tags/" />

Example 4: all meta og tags

<meta property="og:image" content="https://ahrefs.com/blog/wp-content/uploads/2020/01/fb-open-graph-1.jpg" />

Tags:

Html Example