21 votes
Accepted

New required mainEntityOfPage for article structured data

The mainEntityOfPage property is used to give the URL of a page on which the thing is the main entity. It might become clearer if you look at the inverse property mainEntity: this gives the main ...
user avatar
  • 21.5k
20 votes

Correct image dimensions when using Schema.org's logo/image

Schema.org neither requires nor recommends specific image dimensions. For an ImageObject, you may specify the image’s height and width with the height and width properties. Consumers of the data would ...
user avatar
  • 21.5k
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 ...
user avatar
  • 2,727
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/...
user avatar
  • 7,740
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 ...
user avatar
  • 619
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 ...
user avatar
  • 2,624
11 votes

Secure and non-secure Schema.org Markup?

Typically, user agents wouldn’t dereference these URIs. There should be absolutely no problem in using the Schema.org HTTP URIs on a HTTPS site. In fact, many other vocabularies (used for Microdata ...
user avatar
  • 21.5k
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: ...
user avatar
10 votes
Accepted

What is the difference between Microdata and Microformats?

Both are solutions for semantically annotating your content, but in very different ways: Microdata extends HTML5 (e.g., by introducing new attributes like itemprop), while Microformats only uses ...
user avatar
  • 21.5k
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="...
user avatar
  • 9,599
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 ...
user avatar
  • 21.5k
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 ...
user avatar
  • 21.5k
8 votes
Accepted

Schema links and HTTPS

These are no resources which get usually accessed by the browser but simply a fancy way to declare a name space, i.e. all SVG images share the same XML name space which is defined by the URL and same ...
user avatar
6 votes
Accepted

Can microdata be implemented in meta tags?

Your plan of using meta data for microdata is not viable. Here is Google's FAQ about why it isn't showing your data in the search results: Is your marked-up content hidden from users? In ...
user avatar
6 votes
Accepted

When does Google use article published date vs article modified date in SERP?

Historically, Google said they ignored structured data which was not used to markup visible content. Because your snippet shows both date published and date updated as visible on-page content but the ...
user avatar
  • 2,067
6 votes
Accepted

Correct usage of Brand from schema.org

What is the correct usage of using the brand schema from schema.org? There is not one "correct usage" – it depends on what you want to convey. If you want to say something about a brand, you can use ...
user avatar
  • 21.5k
5 votes
Accepted

How to use Schema.org for Adverts on a website - WPAdBlock

Yes, your use of Microdata and schema.org is correct. Instead of div, you might want consider using the sectioning element aside: The element can be used for […] advertising, […] That way the ...
user avatar
  • 21.5k
5 votes
Accepted

Schema.org itemtype identifier - Should it use relative urls or https links?

Don’t use protocol-relative Schema.org URIs: I wouldn’t expect all Microdata consumers to handle these URIs correctly (while it’s common for links or embedded resources, values of the itemtype ...
user avatar
  • 21.5k
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 ...
user avatar
  • 21.5k
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 ...
user avatar
  • 21.5k
4 votes

Schema.org: Having a Product as "about" property

Last week’s Schema.org release (version 2.0) introduced two relevant properties: mainEntity mainEntityOfPage This allows you to omit WebPageElement (which is not very useful in the first place) and ...
user avatar
  • 21.5k
4 votes
Accepted

Schema.org WebPage structure for single page site

Schema supports nested childs and parents when they are associated with each other, and in this case AboutPage, CollectionPage and ContactPage is all child's of WebPage which is valid. But because ...
user avatar
  • 32.6k
4 votes

Can microdata be implemented in meta tags?

Using meta (and link) elements for Microdata is fine. Sometimes there is even no sensible alternative to it, e.g., if specific codes have to be provided where it would make no sense to show them to ...
user avatar
  • 21.5k
4 votes
Accepted

Can I have duplicate Microdata properties on a single page?

Note that syntaxes like Microdata and RDFa don’t annotate the HTML, they use the HTML just as a carrier. After parsing the Microdata/RDFa, it doesn’t matter anymore which markup was used. If your two ...
user avatar
  • 21.5k
4 votes

How can Schema.org markup be worth implementing if Google and Microsoft don't use it on their own websites?

What makes it worthwhile providing metadata? The fact that companies like Google and Microsoft provide this metadata also themselves? Or the fact that these companies make use of the metadata you ...
user avatar
  • 21.5k
4 votes
Accepted

Possible to 'display: none' for Schema.org 'image' property?

you should be clear, why do you want to make use of structured data? to go through the testing tool or to deliver correctly formatted and standard conform structured data to search engine, so your ...
user avatar
  • 9,599
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,...
user avatar
  • 21.5k
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 ...
user avatar
  • 21.5k
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 "...
user avatar
  • 21.5k
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 ...
user avatar
  • 21.5k

Only top scored, non community-wiki answers of a minimum length are eligible