I am trying to get these meta tags to work with social media but I keep getting an error from the W3C validator:
The
itemprop
attribute was specified, but the element is not a property of any item.
I tried putting itemscope itemtype="http://schema.org/Products
but that just made more errors. Here's my HTML source:
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="language" content="english">
<meta name="keywords" content="'.$keywords.'">
<meta property="og:type" content="website" />
<meta property="og:image" content="'.$meta_image.'"/>
<meta property="og:url" content="'.$meta_url.'" />
<meta property="og:site_name" content="'.$meta_name.'"/>
<meta property="og:description" name="description" content="'.$description.'" />
<meta property="og:title" content="'.$title.'"/>
<meta itemprop="name" content="'.$title.'">
<meta itemprop="description" content="'.$description.'">
<meta itemprop="image" content="'.$meta_image.'">
<!-- … -->
What is wrong with my tags?