16
votes
Accepted
Why is my itemprop='image' markup incorrect?
schema.org/BlogPosting image permits ImageObject and URL, however Google only permits ImageObject, hence the error. The intended markup is:
<!-- my code -->
<div itemprop="image" itemscope ...
16
votes
Accepted
How to specify publisher in schema.org's Article structured data?
Something like this, though of course other properties are required for this to meet Google's requirements for article features in search results.
<div itemscope itemtype="http://schema.org/...
15
votes
Accepted
BlogPosting Publisher Logo 'logo.itemtype has an invalid value' on Google Structured Data Testing Tool
Turns out, because BlogPosting is one of the types supported by Google as a possible Rich Snippet, they apply more validation:
Google Search Documentation Guidelines for Articles
This requires an ...
13
votes
Accepted
Which one does Google prefer, Microdata or JSON-LD?
The document that recommends JSON-LD is more recent and it clearly states that Google recommends using JSON-LD where possible (over Microdata) specifically for the following reasons:
"The markup does ...
11
votes
BlogPosting Publisher Logo 'logo.itemtype has an invalid value' on Google Structured Data Testing Tool
A brilliant and helpful answer by @Arth above.
To complement the answer above (not compete with it), here is the same Structured Data using the same schema.org vocabulary, but this time in JSON-LD:
...
9
votes
Accepted
schema.org/Book with multiple authors using JSON-LD
your code contains error, thats why two authors aren't recognized. If you have more then one author, you should add them as list without entity duplication. Here the correct code:
<script type="...
9
votes
Accepted
Does itemprop have a different meaning on links vs. span tags?
What the spec says
Yes, that behaviour is correct. Section 5.4 of the W3C Microdata spec describes which value gets used.
In most cases, the element’s content gets used as itemprop value, but in ...
9
votes
Can I mix Microdata and JSON-LD on the same page for different entity
It should be fine to use different syntaxes on the same page.
It has one drawback, though: If you want to connect entities specified in different syntaxes, you can’t nest them. You have to use URIs ...
5
votes
Accepted
How to find correct schema definitions for my website
The website http://schema.org/ is the relevant and the only canonical source for Schema.org types and properties.
Type vs. property. A type represents a thing, a property is for providing information ...
5
votes
Using both JSON+LD and Microdata to markup the exact same information on a page
If you provide structured data about the same thing in different syntaxes, you should convey that it’s actually the same thing, not different things.
You can do this by giving all representations the ...
4
votes
Can I use <link> tags in the body of an HTML document?
This question was asked and answered some time ago, and things have improved a quite a bit since then. You can use <link> tags in the <body> of an HTML document as long as the <link> ...
4
votes
How to specify publisher in schema.org's Article structured data?
Schema.org expects an Organization item as value for the publisher property, but you provide a string value ("MyCorp").
If you want to follow Schema.org’s expectation (which is just a recommendation,...
4
votes
Accepted
Correct way to use sameAs itemprop in Microdata
If they have visible links to these social media profiles, it’s the best practice to mark up these links, instead of repeating the links and marking up the "invisible" variant:
<div itemscope ...
4
votes
Accepted
Is there a Microdata version of JSON-LD’s "@id"?
Yes, the itemid attribute (W3C, WHATWG).
Example:
<div itemscope itemtype="http://schema.org/Person" itemid="/team/alice#i">
<!-- this person (not the page about this person) has the URI "...
4
votes
Accepted
Adding Schema.org’s "WPHeader" with Microdata
Schema.org
I have the impression that many WordPress theme creators add these types. My guess why: These are one of the few types that can be added without knowing the site’s content. The header is ...
4
votes
Accepted
Is there a representative logo for Structured Data which can be used on icons?
Semantic Web
The W3C provides Semantic Web logos. Here are the versions without the W3C logo:
(usage guidelines)
But in my experience, these logos are used to represent the concept, they don’t ...
3
votes
Accepted
Multiple Schema.org telephone values
Yes, providing the property multiple times is the correct way to do this in Microdata.
If you want to provide data about the telephone number, you could use the contactPoint property with a ...
3
votes
Schema.org or Data-Vocabulary.org for breadcrumbs?
Up-to-date answer, January 3rd, 2017
data-vocabulary.org - offers microdata for breadcrumbs for quite some time now. Simply use it like this:
<div class="breadcrumb">
<span itemscope ...
3
votes
Accepted
A schema.org schema for a menu item in a restaurant
Schema.org has release a new Restaurant Menu Markup
That is really good news!
If you've been waiting for a proper method which allows the markup of multiple Restaurant Menus with along Menu Sections ...
3
votes
Accepted
schema.org/Book with multiple authors
Yes, provide multiple author properties.
But note that the itemprop has to be specified on the element with the itemscope.
<div itemscope itemtype="http://schema.org/Book">
<span itemprop=...
3
votes
Spammy microdata penalty reconsideration rejected
As the first, your example page https://www.fantasticservices.com/professional-oven-and-bbq-cleaning/ includes two different, not nested JSON-LD snippets. This is a massive cause for bad ...
3
votes
Should I add Microdata on the product listing page or on the product detail page?
Ideally on both. But if you have to choose, provide it on the detail page, because search engines that offer a product rich result will of course show this for detail pages, not for listing pages.
...
3
votes
Accepted
Microdata & JSON-LD Conflict on the same page or not?
Gary said by using JSON-LD and Microdata on same page does not create any problem.
Google search console will display both markup, but Google may be merge it or will prefer JSON-LD markup over ...
3
votes
Accepted
Should itemprop be on innermost HTML tag?
It depends on the element.
In your example, the name value isn’t the same. In the first snippet it’s the string "John Doe", in the second snippet it’s the relative URL Joe Doe (i.e., not what you ...
2
votes
Why is my itemprop='image' markup incorrect?
I had a similar problem with Google Structured Data Tester marking my images as invalid. Apparently it doesn't accept images where the source is a localhost domain. As soon as I deployed to the ...
2
votes
Accepted
HD images on eCommerce and SEO
Use this tags.
<a href="http://www.example.com/hd-image.jpg"><img src="http://www.example.com/thumbnail-img"/></a>
Most of all ecommerce websites, blogger websites, and wikipedia ...
2
votes
New required mainEntityOfPage for article structured data
What is this property?
It's supplementary to the url and sameAs properties, as described in the mainEntity background.
It has an idiosyncratic name as it may be applied to all items of type Thing. ...
2
votes
Google Testing Tool reports error on Schema.org "location"
Although it says on schema.org that Event.location can be either Place or PostalAddress, the google documentation says otherwise.
Event.location is required and has to be a Place
location: Place, ...
2
votes
Accepted
Microdata and replacing entities for display
The Schema.org properties articleBody and description expect Text as value. If you want to follow this advice, you have to specify the properties (in itemprop) on an element that creates a string ...
2
votes
Schema.org in Microdata or in JSON-LD?
You can refer to the organisation markup using itemref. Add an id to the organisation markup, then use itemref="yourid" at the top of your markup which needs to include the organisation.
Don't ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
microdata × 248schema.org × 108
seo × 67
html5 × 52
rich-snippets × 35
html × 32
google-rich-snippets-tool × 29
structured-data × 27
json-ld × 23
google-search × 21
google × 13
google-search-console × 13
markup × 9
breadcrumbs × 8
images × 7
rdfa × 7
microformats × 7
semantic-web × 5
url × 4
https × 4
meta-tags × 4
w3c-validation × 4
local-seo × 3
search-results × 3
dates × 3