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
86
votes
8 answers

OpenGraph or Schema.org?

Just wondering whether you guys out there are favouring the OpenGraph protocol following markup like:
Tom
  • 913
  • 1
  • 8
  • 7
75
votes
4 answers

Microdata vs RDFa

I have a quick question about RDFa and Microdata. My current understanding is that RDFa is RDF implemented into HTML but is complicated for new developers like myself, Microdata seems really easy and quick to implement. What are the other advantages…
user1043646
67
votes
6 answers

Microdata, RDFa or JSON-LD Appropriate or best usage?

I have been wondering which of those formats is "best"? Schema.org, Microdata, and RDFa are bit of a pain to implement. They can break validation and require quite an effort to put into documents. JSON-LD is, at last for me, a way better to…
Grzegorz
  • 3,538
  • 4
  • 29
  • 47
66
votes
5 answers

Microdata or JSON-LD? I'm confused

I haven't found a clear and updated answer, even after googling for a few hours, so here it goes: I am aware of the advantages and disadvantages of both Microdata and JSON-LD. I also know that Microdata was dropped from W3C (and consequently from…
Samia Ruponti
  • 3,910
  • 12
  • 42
  • 62
65
votes
6 answers

Do you put Schema Microdata meta tags in the html body?

I have searched for a long time across the internet and stackoverflow for an answer to this question, and I have found links that say that you should not put meta tags in the body: Using HTML5+Microdata's tag in the passing meta data…
Timo Huovinen
  • 53,325
  • 33
  • 152
  • 143
50
votes
6 answers

microformats, rdf or microdata

Is there any difference between using one of this technologies? I'm building now a site using HTML5, and I'm having hard time to decide which one of them to use. I cannot see any difference between them, else the syntax size, which I'm not quite…
neoswf
  • 4,730
  • 6
  • 39
  • 59
42
votes
5 answers

What microdata should I use for a blog?

The blog is basically a page that lists the summary of like 10 articles, each item title linking to the full article page. I've seen: http://schema.org/Blog http://schema.org/Article (or maybe http://schema.org/BlogPosting ?) Where do I use…
Alex
  • 66,732
  • 177
  • 439
  • 641
29
votes
2 answers

Validation error: "The itemprop attribute was specified, but the element is not a property of any item"

For better SEO I need put some meta on my page like this:
rpayanm
  • 6,303
  • 7
  • 26
  • 39
28
votes
3 answers

What is the relationship between RDF, RDFa, Microformats and Microdata

I've done quite a bit of research but I can't understand the exact relationship between the 3. Also, now that W3C has officially recognised RDFa, would you recommend it over Microdata, taking into consideration that it matches Microdata's features…
aelsheikh
  • 2,268
  • 5
  • 26
  • 41
25
votes
5 answers

Can I add Microdata from HTML5 to a XHTML Strict site and still be compliant?

I've got a site coded in XHTML 1.0 Strict. I want to use the new Microdata to add breadcrumbs to my site (so Google will understand them). My old non-microdata marked-up breadcrumbs look like this:
25
votes
1 answer

Meta tags itemprop

I am trying to include extracted structured data in my webpages. I included this for description: However I realised that there is already a normal meta description on the page:
pessi
  • 681
  • 1
  • 10
  • 26
22
votes
6 answers

"position" property required for ItemList with Product list items?

I have a problem: Google’s Structured Data Testing Tool gives me an error: Tag position doesn't exist. It's required. I add it to the markup. Than I get this error: Position property is not valid for an object of type Product Here is my…
murrometz
  • 904
  • 1
  • 8
  • 12
22
votes
5 answers

True custom attributes (e.g. Microdata) in React

The site I am developing makes use of Microdata (using schema.org). As we are shifting development over to use React to render our views I have hit a blocker where React will only render attributes in the HTML spec however Microdata specifies custom…
Chris Pearce
  • 1,706
  • 4
  • 15
  • 18
21
votes
6 answers

Is it OK to hide microdata with CSS?

let's say I have some html document with a lot of text. Is it "good" (~not bad :)) to have elements that contain microdata and hide those elements so that user won't actually see them? Let's say I have this:
ladar
  • 5,858
  • 3
  • 26
  • 38
21
votes
3 answers

HTML5 Microdata - itemref to another itemscope (Person works for Organization)

The website of an organization, say "Sun Industries", would like to add a list of employees. The address and contact information of the organization is already present at the webpage, but the list of employees would be somewhere else. So we…
Meteor
  • 215
  • 1
  • 2
  • 5
1
2 3
58 59