Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Microdata is a syntax for embedding structured data in HTML5, making use of vocabularies. If the question is about the popular vocabulary Schema.org, use the tag [schema.org].

2
votes
1answer
43 views

Why google cannot detect QApages for a title?

I'm testing Stack Overflow website using Google schema tester tool and it throws an error for the title: Any idea why Google cannot determine that title as a QAwebpage? What's wrong with it?
2
votes
1answer
17 views

Should itemprop be on innermost HTML tag?

I wonder if it makes any difference whether I markup an item on my site like this: <h1 itemprop="name"><a href="some-page.html">Joe Doe</a></h1> or like this: <h1><...
0
votes
2answers
73 views

Using both JSON+LD and Microdata to markup the exact same information on a page

This Quora Answer: https://www.quora.com/Can-I-mix-microdata-and-JSON-LD/answer/Aaron-Bradley The above answer from 2015 mentions there being a potential problem when marking up the same entity with ...
3
votes
2answers
69 views

“Organization” schema with another schema on the same page

Should I use the Organization schema on each page if I have another schema data, for example Event? Can I use Event and Organization on the same page? Organization code <script type="application/...
1
vote
0answers
28 views

Does JSON-LD structured data work with Google Plus shared website link snippets too?

I just recently switched my Web ID card (i.e. my primary web profile) website, over from Microdata to JSON-LD to get better, more fine-grained control over the structured data appearance, on Google ...
1
vote
1answer
24 views

Can use microdata on stars instead of a number in reviewRating?

This is my HTML code for a review on a user. The documentation for rating says you have to mark up a number like: <span itemprop="reviewRating">5</span>. However, I only use stars and ...
4
votes
1answer
468 views

Can I mix Microdata and JSON-LD on the same page for different entity

My website is using JSON-LD and Microdata. For example, in BreadcrumbList, I have used Microdata format, and for others (like Organization, TouristAttraction) JSON-LD has been used. Can I mix ...
2
votes
1answer
25 views

<meter> element’s value is not recognized in structured data

According to the Microdata specification, If the <meter> element has the [value] attribute and it is an itemprop, then the itemprop value should be the value of that [value] attribute. <div ...
6
votes
1answer
236 views

Does itemprop have a different meaning on links vs. span tags?

I'm using Schema.org markup for a Person, but I get inconsistent results in Google's Rich Snippet Testing Tool when using an <a> tag vs. a <span> tag. Take these two examples: <span ...
3
votes
1answer
49 views

Is there a representative logo for Structured Data which can be used on icons?

My suspicion is that the answer very likely is "No." But I thought I'd ask anyway. Various common protocols, standards and technologies have their own logos: e.g. GSM, Email, RSS, WiFi, HTML5, ...
1
vote
0answers
132 views

Can SiteNavigationElement in schema.org describe a navigational element which links out to external sites?

Deployment of some parts of schema.org still appear to be at a late experimental stage. After extensive debate, there appears to be a - tentative - method to describe the principal navigation section(...
3
votes
0answers
87 views

How do I get the Structured Data Testing Tool to ignore template elements?

I’m using Web Components to build a site, and one of the biggest features is my use of the <template> element. Here’s an example: <ul> <template> <li> <div ...
1
vote
2answers
85 views

Is it good to have duplicate Microdata properties on different tag on a single page?

I am adding Schema.org Microdata to one of the website homepage. This website has a logo which is surrounded with <a> anchor tag. This anchor tag already uses itemprop="url" like this: <a ...
3
votes
3answers
640 views

Microdata & JSON-LD Conflict on the same page or not?

For Wordpress website used Rich-Snippet Plugin, that added schema for pages using Microdata. I also applied Sitelink Search Box, Product schema, Article Schema For the Same site in different pages ...
1
vote
1answer
106 views

How to mark up the “isAccessoryOrSparePartFor” property for a replacement part?

I want to create a rich snippet for a replacement valve for a kitchen faucet. How do I associate that part to the parent product using Microdata and the isAccessoryOrSparePartFor property? This is ...
3
votes
1answer
1k views

Adding Schema.org’s “WPHeader” with Microdata

I'd like to add Schema.org data, and am trying to follow instructions given to me about how to do so. The instructions indicate that I should change my <header> tag from: <header> to &...
1
vote
1answer
71 views

Microdata markup for a chemical substance?

I'm trying to add Microdata markup to a table of properties of a chemical substance. Below is a sample of some of the properties of one of the chemical substances I'm trying to markup. I'm not ...
2
votes
1answer
495 views

Meta-content or time-datetime

How to show datePublished and dateModified Microdata? (I want to prioritize dateModified, this is why I do not show datePublished to the public) Option 1. If I understand this is not correct. Div ...
0
votes
1answer
43 views

Dates in USA for the normal user

I am from Europe. I am confused about dates in USA. I have seen different ways to show the date in USA: Rss feed: Thu, 15 August 2017 Schema and Sitemap: 2017-08-15 Wikipedia: August 15, 2017 https://...
1
vote
1answer
255 views

Should I add Microdata on the product listing page or on the product detail page?

In our website, we have a product listing page and the product detail page. My question is should we add the Microdata attributes on the listing page or on the details page? Or should it be on both? ...
0
votes
1answer
95 views

Schema.org (Microdata) for online application

I have a site with some onpage scripts such as "case converter" or "list sorter". I wish add microdata and I'm not sure about the right kind. The "app" is available only on page (no download, but just ...
1
vote
0answers
490 views

Schema Markup for Web Application Pages and Landing Pages

I have build a Web Application and the website is set-up like this: Landing Pages that consists of Home, Price, Features and Contact Us Web Application pages that are for logged in users and only ...
2
votes
1answer
486 views

itemprop for canonical link and meta description in the head

I've a problem with validation of the code provided by Google. Idea is (simplified): <head itemscope itemtype="http://schema.org/WebSite"> <title itemprop="name">Example.com - Best ...
1
vote
1answer
206 views

Article preview and non-text types in meta tags

I'm trying to figure out how to implement Schema.org right, and since the very beginning I faced some issues and I would be very happy if you make it clearer for me. First of all, basic structure of ...
1
vote
0answers
303 views

How to use structured data for service categories? [closed]

So I am trying to understand this confusing documentation from schema.org and want to fix my structured data. Lets say I offer music recording and production services. So to show through html: ...
3
votes
1answer
134 views

Schema.org Microdata Across Multiple Pages

Say I have markup like this on https://example.org/index.html: <span itemscope itemtype="https://schema.org/LocalBusiness"> <meta itemprop="url" content="https://example.org/index.html"&...
1
vote
1answer
249 views

Structured data disappeared from google console

I have two websites which are twin, both using schema.org microdata format to construct structured data. Both websites had their data visible in google webmaster console. But i noticed a sudden drop ...
2
votes
1answer
227 views

Using h-entry and schema.org at the same time

Is it ok to use both Microdata h-entry and schema.org in the same template? Or better to use one of them?
3
votes
1answer
87 views

Spammy microdata penalty reconsideration rejected

I'll be more than happy if someone could give me any hint where i could be wrong. Some time ago site of a client got spammy microdata penalty. The situation was following - one local business markup ...
5
votes
2answers
3k views

Which one does Google prefer, Microdata or JSON-LD?

Here Google says they prefer JSON-LD: JSON-LD is the recommended format. Google is in the process of adding JSON-LD support for all markup-powered features. The table below lists the exceptions ...
0
votes
2answers
281 views

How to use price range inside “Offer” type?

I have category pages that contain products. Some of the products have fixed prices and some of the products have price ranges. Also any product has a seller that must be inside Offer. Right? So I ...
1
vote
1answer
270 views

HTML5 Microdata - itemref to another itemscope (CollectionPage containing all the blogs)

On the Google structured testing tool, it shows that they are all separate instances. I'm trying to have them list to each other. This is what I have now: <section class="primary content-area" ...
3
votes
1answer
520 views

Is there a Microdata version of JSON-LD’s “@id”?

I'm trying to generate Microdata markup (making use of Schema.org). I know that JSON-LD has a "@id" which helps reference that whatever data is. Is there a similar thing for Microdata? As I wouldn't ...
2
votes
0answers
282 views

LocalBusiness with multiple locations on same page

I am trying to add local business Schema.org markup on a website. I have one concern, there are around 10 different locations for the business and all those locations are on 1 page, that means they ...
2
votes
1answer
659 views

“image” property inside Article with or without ImageObject?

Can I use itemprop image directly?: <article itemscope itemtype="http://schema.org/Article"> <img itemprop="image" src="1.png"> <h1 itemprop="headline name" >Title of the post</...
1
vote
1answer
714 views

Schema.org ImageObject url

Schema.org’s ImageObject example uses itemprop="contentUrl". I tested this simplified code in Google: https://search.google.com/structured-data/testing-tool gives me an error: A value for the url ...
1
vote
2answers
237 views

How to embed a Schema.org data type?

How to embed items of a different data type? Schema.org explains it here: https://schema.org/docs/gs.html I use Google’s markup helper (www.google.com/webmasters/markup-helper/) that creates ...
2
votes
1answer
129 views

Schema.org caption inside Article?

Ho to use Schema.org in the caption of an image? I see that caption is not present in BlogPosting nor Article. I made a search and it seems that it is in ImageObject. But if I am inside itemscope ...
1
vote
1answer
206 views

Schema.org - Microdata and JSON-LD behave diffrently for same code [duplicate]

Having a hard time with JSON-DL and several blogPost. The way I see it, both Microdata one and JSON-DL one is exactly the same, yet the latter only show one blogPost, where Microdata show both. HTML ...
2
votes
1answer
1k views

Correct way to use sameAs itemprop in Microdata

My client has recently implemented the sameAs markup for the social media profiles. They have used Microdata as they don't want to use JSON-LD as they feel it'll be some work to go through the site ...
10
votes
2answers
8k views

BlogPosting Publisher Logo 'logo.itemtype has an invalid value' on Google Structured Data Testing Tool

The following runs through the Google Structured Data Testing Tool as expected: <div> <div itemprop="publisher" itemscope id="organization-example" itemtype="https://schema.org/...
2
votes
2answers
57 views

Microdata markup - do I add to EACH markup reference?

I have a resource which ranks #1 on the web for conference listing. I've discovered and been advised to add Microdata markup since it does no harm and if anything it helps search engines understand ...
4
votes
1answer
63 views

How do you get ecommerce stuff into an organic listing?

I did a search for "eve mattress" & noted that they have a worked credit example in the organic listing - searching the page source doesn't show that this is done using microdata like: https://...
2
votes
1answer
69 views

How to handle an unrated object with AggregateRating?

In terms of microdata, what is the proper way of displaying an unrated item such as a schema.org/Article? I was thinking about one of the following: Do not specify any aggregateRating property for ...
6
votes
2answers
12k views

How to specify publisher in schema.org's Article structured data?

I am trying to use the Article type from schema.org: <article itemscope itemtype="https://schema.org/Article"> <!-- ... --> <meta itemprop="publisher" content="MyCorp" /> </...
3
votes
1answer
671 views

Best way to define 'mainEntityOfPage' in Microdata?

I know at least 2 ways to define mainEntityOfPage: <div itemprop="about" itemscope itemtype="http://schema.org/Product"> <link itemprop="mainEntityOfPage" href="http://example.com/article-...
1
vote
1answer
290 views

Can 'mainEntityOfPage' point to another page?

I have two pages: page1.html: WEBPAGE->MainEntity->ARTICLE { inside ARTICLE I have PRODUCT with short description } page2.html: WEBPAGE->MainEntity->PRODUCT { "Full ...
2
votes
2answers
215 views

Schema.org in Microdata or in JSON-LD?

Should I use Microdata markup on my blog or should I put just an JSON-LD with all info, or is using both the best option? A bit of explanation. I am trying to mark up my blog and I manage to get to 1 ...
1
vote
1answer
223 views

Isn't JSON-LD a form of hiding schema/microdata?

I'm adding schema data/microdata to my web pages. I see that both schema.org and Google they discourage hidden microdata via tags and hiding elements with microdata via style. I can see the reasoning ...
1
vote
1answer
393 views

How to specify services for the LocalBusiness?

How can I show Googlebot by attributes from Schema.org that my company provide services below? Repair, installation and modernization: gas installation water instalation electrical installation ...