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

How to cite a blog post using HTML microdata and schema.org?

My goal is to cite a blog post by using HTML microdata. How can I improve the following markup for citations? I am seeking improvements on the syntax and semantics, to produce a result that works well with HTML5 standards, renders well in current…
joelparkerhenderson
  • 34,808
  • 19
  • 98
  • 119
12
votes
2 answers

RDF and microdata future

What should we expect from RDF and microdata in the future? Is microdata able to completely replace RDF, is this the goal? Or are they meant to exist side by side? Should we have both on our sites once microdata becomes more famous? Update: I did…
Unknown
  • 1,377
  • 1
  • 15
  • 33
12
votes
1 answer

Is there a pagination links microdata entry?

There is a microdata for breadcrumb links: http://www.data-vocabulary.org/Breadcrumb/ But is there a similar microdata for page links, like: [<-] 3 4 5[prev] 6[current] 7[next] 8 9 10 11 [->]
alemjerus
  • 8,023
  • 3
  • 32
  • 40
11
votes
2 answers

Can I combine two itemscopes to describe a single item?

I would like to add microdata to a page, but the data for an item is broken up into a couple discontinuous parts of the page. If I have two span elements with an itemscope attribute, is it possible to get search engines to merge the two itemscopes…
haydenmuhl
  • 5,998
  • 7
  • 27
  • 32
11
votes
1 answer

What is the difference between Schema.org's WebSite vs WebPage type?

I was reading Google documentation on how to impletement Sitelinks Search Box. In the example, they use itemscope itemtype="http://schema.org/WebSite" to implement sub-properties like potentialAction, etc. However, after reading the schema…
gskema
  • 3,141
  • 2
  • 20
  • 39
11
votes
1 answer

Can I use multiple itemtypes in one itemscope for Schema.org?

I am wondering if I can use multiple itemtypes inside one item scope. For example I have this at the moment:
Lee Wiggins
  • 351
  • 3
  • 11
11
votes
2 answers

Microdata ItemID to identify elements scattered throughout an HTML doc/HTML tables

My developer coded a list of Products using HTML Tables. The code came out something like this:
Product Name #1Product Name #2Product Name #3
Product Price…
Michael Hayes
  • 123
  • 1
  • 7
10
votes
1 answer

Can we have multiple itemprop's on single element for microdata tagging

Can we tag a single html element with multiple "itemprop" properties? I'm working on something for micro data tagging.(schema.org) The…
karry
  • 3,270
  • 3
  • 18
  • 31
10
votes
4 answers

How to use the "UserComments" schema item?

Let's say I have the mark-up like this:
10
votes
3 answers

Microformat's hRecipe vs. Schema's Recipe

I would like to know what are the main differences between Microformat's hRecipe and Schema.org's Recipe and how search engines treat each one. Besides the differences in code and the fact that the former is open while the latter is propietary, how…
Naoise Golden
  • 8,793
  • 4
  • 49
  • 65
10
votes
4 answers

Using itemprop="branchOf" from schema.org Microdata to refer to LocalBusiness's parent company

I'm creating a simple (well, it was going to be simple before I decided to mark it up with Microdata) web page containing company contact information for a business with two offices. I'm using schema.org and LocalBusiness for the two offices. Here…
David Oliver
  • 2,424
  • 1
  • 24
  • 37
10
votes
2 answers

How can I manage microdata with xslt?

I'm trying to add a tag like
in my xslt transformation but I get an error.(The expected token is '=') I'm working in C# .net 4.0 xslt 1.0.
Christophe Debove
  • 6,088
  • 20
  • 73
  • 124
10
votes
1 answer

JSON-LD and Microdata on the same page?

I have both Micro Data and JSON-LD on my e-commerce product pages, describing the same thing (products in my case). For reasons beyond the scope of this question, I cannot remove either of the two formats. I am wondering: Is this a problem for…
Milen Kovachev
  • 5,111
  • 6
  • 41
  • 58
10
votes
3 answers

How to implement Schema.org on HTTPS pages?

Is it correct to statically set up Microdata’s itemtype attribute with HTTP value (http://schema.org/WebPage) on HTTPS pages or do I need to use HTTPS value (https://schema.org/WebPage) on all pages? Since both HTTP and HTTPS versions of the site…
Noel Jose
  • 103
  • 6
9
votes
3 answers

When using HTML5 Microdata, should the 'itemscope' and 'itemtype' always be used on the same element?

I'm trying to understand the reason behind the existence of two attributes instead of just making the element holding the 'itemtype' the one that wraps the scope for the item. Is it valid to have 'itemtype' attribute on one element and 'itemscope'…
alonso.torres
  • 1,199
  • 2
  • 12
  • 26
1 2
3
58 59