Questions tagged [microdata]

Microdata is a syntax for expressing structured data in (X)HTML5 documents. (If the question is about the vocabulary Schema.org, use the [schema.org] tag.)

Microdata is a syntax for expressing structured data in HTML documents. It’s designed to annotate content with machine-readable labels, to allow scripts to act on the type of content in the document.

Microdata support can be found in technologies such as search engines and web crawlers to better understand what information is contained in a web page, providing better search results.

From the Wikipedia article:

Microdata is an attempt to provide a simpler way of annotating HTML elements with machine-readable tags than the similar approaches of using RDFa and microformats.

Related tags

  • and
  • , the most popular vocabulary that can be used in Microdata
  • , an alternative syntax that can also be used with (X)HTML5
  • , a different approach to express structured data in (X)HTML documents
  • , an alternative syntax using JSON format

References

873 questions
9
votes
2 answers

How do I relate Job (jobTitle) to Organization (worksFor) in Schema.org markup?

Under a Person schema, I want to associate each job title with its respective organization. This is in a resume-like setting, so there are many jobs and many organizations. Here's an actual example of some code from my project (content clipped +…
Steven
  • 93
  • 8
9
votes
1 answer

Schema.org AggregateRating markup when ratingValue is Empty

I am implementing structured data into an app with the AggregateRating markup. The problem is that when 0 ratings are present the rating value is empty. I get the following error when using Google Structured Data Testing Tool. Field ratingValue…
JeffD23
  • 8,318
  • 2
  • 32
  • 41
9
votes
1 answer

Microdata on tables

I’m new to Microdata and have a problem with itemscope within a table. For example assume I‘ve got a person object and in the table I’m showing Name, Street and City columns.
frigon
  • 4,979
  • 7
  • 32
  • 38
9
votes
4 answers

dtstart warning on UserComments schema

I have the following code for rich snippet on comments:
8
votes
4 answers

Microdata itemprop causes W3C validator error

After adding Microdata to my pages, I got many errors from W3C validator complaining the itemprop: there is no attribute "itemprop" From code like this:

...

This is my DOCTYPE and html tag
LazNiko
  • 2,083
  • 3
  • 25
  • 39
8
votes
2 answers

Is there currently a way to use HTML5 tags outside of in WebKit?

I'm trying to use tags throughout my HTML document to mark-up hidden microdata values, as descriped in Mark Pilgrim's Dive Into HTML 5. However, when my page loads in Chrome (specifically, Chromium 6.0.418.0), I get the following error…
Bryan Irace
  • 1,855
  • 2
  • 20
  • 38
8
votes
1 answer

Implicity of web page structure in Schema.org

After reading thousand of posts, questions, blog articles and opinions, I'm still a bit confused about how to markup a web page with microdata. If the main purpose of microdata is to help search engine to better understand the content of a web page…
cosphi
  • 101
  • 5
8
votes
1 answer

querying metadata from HTML page with SPARQL returns nothing

I seem to be having some issue either using HTML::HTML5::Microdata::Parser or RDF::Query or with SPARQL syntax and semantics. I am interested in this bit from a news site page.
Autoři:
8
votes
2 answers

Breadcrumbs on current page

I have currently implemented my breadcrumbs like this:
OuberThat
  • 185
  • 2
  • 15
8
votes
3 answers

Structured data for opening hours semantic html

I'm supposed to mark up the opening hours of a company with HTML5 microdata. After searching on Google and schema.org for a bit i wrote the following code:
Wesley Smits
  • 1,314
  • 6
  • 23
  • 37
8
votes
3 answers

What is the correct semantics for language switching navigation?

I am coding a multilingual site and I have following navigation: Can I…
mica
  • 500
  • 3
  • 13
7
votes
1 answer

review count and rating using an image - schema.org

I need some help getting some rich snippets to my site I inserted the review microdata following the instructions given on schema.org here http://schema.org/docs/gs.html#advanced_missing using the star-image for rating and the text for review…
Joel
  • 467
  • 1
  • 6
  • 18
7
votes
2 answers

JSON-LD microdata for a product with multiple variants for Facebook Catalogs

I have searched and searched, and I cannot find an example of JSON-LD Schema microdata that will cause my Facebook Catalog to recognize all variants of a product that has multiple variants (a t-shirt, for example). So far, I've tried these methods…
7
votes
1 answer

Gmail Inbox View Action - "A value for the url field is required."

I'm trying to get the markup correct for Gmail inbox actions for resetting a password. I'm using the Email Markup Tester. My markup looks like this:
Arel
  • 3,888
  • 6
  • 37
  • 91
7
votes
5 answers

Does "description" in Schema.org markup have to be free of HTML tags?

All e-commerce websites with Product Schema.org Microdata that I found use plain text in description property. Is there some specification that clearly prohibits markup with some text formatting tags like:
Kadilov
  • 145
  • 1
  • 6