For better SEO I need put some meta on my page like this:
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="The Name or Title Here">
<meta itemprop="description" content="This is the page description">
<meta itemprop="image" content="http://www.example.com/image.jpg">
Then I check this code on Markup Validation Service:
<!DOCTYPE html>
<html>
<head lang="en">
<meta itemprop="name" content="The Name or Title Here">
<meta itemprop="description" content="This is the page description">
<meta itemprop="image" content="http://www.example.com/image.jpg">
<meta charset="UTF-8">
<title>My title</title>
</head>
<body>
My body.
</body>
</html>
Throwing this error:
Line 4, Column 57: The
itemprop
attribute was specified, but the element is not a property of any item.<meta itemprop="name" content="The Name or Title Here">
Line 5, Column 70: The
itemprop
attribute was specified, but the element is not a property of any item.<meta itemprop="description" content="This is the page description">
Line 6, Column 68: The
itemprop
attribute was specified, but the element is not a property of any item.<meta itemprop="image" content="http://www.example.com/image.jpg">
How can I fix this?
link
element (instead ofmeta
) if the value is a URL. So your thirdmeta
element should be this instead:<link itemprop="image" href="http://www.example.com/image.jpg">
– Ipecac