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
7
votes
1 answer

'itemprop' and 'rel' attributes on same element

Is it valid to use the itemprop attribute and the rel attribute on the same element? The example from Google’s Site Name documentation contains which gives this error in…
unor
  • 92,415
  • 26
  • 211
  • 360
7
votes
1 answer

Why does Google Testing Tool use the "id" attribute to generate a URL for the Microdata item?

I'm using some Microdata to describe a blog post, and I'm surprised by the value return for Schema.org’s BlogPosting by the Google Developers Testing Tool. I would have expected it to be the itemprop url, not a merge of the website URL and the item…
7
votes
2 answers

schema.org product availability tags markup

Which one is correct? I checked official schema documentation and in…
BlueMark
  • 962
  • 4
  • 23
  • 41
7
votes
1 answer

How to set a microdata image property, without letting the browser download the image?

I have a website on which images are displayed. The images which are displayed are resized and then cached by the web application. But the cache is volatile. For the microdata I want to link to non-volatile images. My current solution for this…
i.amniels
  • 1,781
  • 1
  • 25
  • 37
7
votes
1 answer

Blog Posts Optimized by Schema

I am quite new to these approach in optimizing my HTML with Rich Snippets. I am not sure what is the differences of each of the list items below: http://schema.org/Article http://schema.org/BlogPosting http://schema.org/Blog I got this code below…
rahstame
  • 2,148
  • 4
  • 23
  • 53
7
votes
1 answer

How to markup "Related News" using microdata?

A news post would be like

Awesome News

bla bla bla...
What if I would like to include…
7
votes
1 answer

Different (type of) openinghours per day using schema.org

I use microdata and specifically the LocalBusiness schema on my site. I was also reading this: schema.org: Multiple opening hours on same day But what I want is to define per day what the opening hours are, since they may vary a lot. What I…
Adam
  • 6,041
  • 36
  • 120
  • 208
7
votes
4 answers

What Schema.org type do I use to define a service?

How I define a service with schema.org? For example, A pest control business: "Termite control" -> I think it's not a product ( http://schema.org/Product ) What should I use to define it?
Arnaubf
  • 71
  • 1
  • 2
7
votes
2 answers

How to handle complex addresses with schema.org/PostalAddress?

Let's say I have an address which includes a parent building or other additional address info, for example: Barnes & Noble Union Square 33 E 17th St New York, NY 10003 OR Koi Restaurant Bryant Park Hotel 40 W 40th St New York, NY 10018 How should…
User
  • 62,498
  • 72
  • 186
  • 247
7
votes
1 answer

Correctly format boolean tag attributes with tinymce editor plugin

i am building a plugin for tinymce editor which adds some microdata to selected text, and i want to make sure the final markup will be valid. as specified by the draft microdata spec, a new item is indicated by adding the attribute itemscope to an…
jessykate
  • 255
  • 1
  • 12
6
votes
2 answers

When should I use HTML5 Microdata for SEO?

So I've been looking into this HTML 5 Microdata, but I'm not sure if or when it is appropriate to use. I know that if used with rating and you search a website it will pull up things like video rating and article ratings etc. But for Microdata like…
Howdy_McGee
  • 10,422
  • 29
  • 111
  • 186
6
votes
2 answers

Facebook pixel microdata on a single page application

I am trying to create a product catalog on Facebook using their pixel The docs are here: https://www.facebook.com/business/help/887775018036966 Facebook detects the product information using the microdata (which is a json inside script tag) The…
Tals
  • 320
  • 1
  • 8
6
votes
1 answer

Add custom attributes to Vuetify tags

How I can add custom attributes to Vuetify tags. I want add some Schema.org attributes to my site. I have template like this: