Creative agency glossarySEO and Analytics

Microdata

Microdata is a way of embedding structured data in HTML by adding attributes to existing tags so search engines can identify entities like products, events and reviews on a page.

What is microdata?

Microdata is one of the three formats for marking up a web page with structured data, alongside JSON-LD and RDFa. It works inline: you add attributes such as itemscope, itemtype and itemprop to the HTML elements that already hold the content, telling a machine that this heading is the name of a product, this span is its price and this block is a review. The vocabulary comes from schema.org, the shared dictionary that Google, Microsoft, Yahoo and Yandex agreed on in 2011 so that structured data would mean the same thing everywhere.

Because the markup wraps the visible content, microdata is by definition describing what is on the page. That was its appeal: no separate data block that could drift from the content or lie about it.

Why it matters

Why microdata matters

It matters because structured data is how a page qualifies for richer treatment in search: star ratings, prices, event dates, FAQ fold-outs, recipe cards, video thumbnails. Engines can usually work out what a page is about, but they will not guess that a specific number is a price or that a block is a review. Marking it up removes the guesswork and unlocks the result formats that take more of the page and earn more clicks.

It also matters as history and as inheritance. Many sites, themes and e-commerce platforms still carry microdata in their templates. Knowing how to read it is part of auditing a site, and knowing its limits is part of deciding whether to keep it.

In practice

How microdata works in practice

  1. 01

    Pick the schema.org type that fits the content (Product, Event, Article, FAQPage, LocalBusiness, VideoObject), then wrap the relevant HTML. The container gets itemscope and itemtype pointing at the type; each child element gets an itemprop naming the property it holds. Nested items (a review inside a product, an address inside a business) nest the same way. Validate the result with Google's Rich Results Test and the schema.org validator, which show what was understood and what is missing.

  2. 02

    In practice most teams now add structured data as JSON-LD instead: a single script block in the head that describes the page without touching the HTML. Google recommends it, it is easier to generate from a content management system and it does not break when a template changes. Microdata remains valid and fully supported; it is simply more work to maintain. If you inherit a site with microdata, keep it working or replace it, but do not run both in ways that disagree.

At RIOT

Microdata at RIOT

The FAQ at the bottom of this page, and of every entry in this glossary, is carried as structured data so the questions can appear in results as they are written here. The format matters less than the rule behind it: the markup describes exactly what is on the page, which is the promise microdata was built to keep.

See the work →

Watch out

What people get wrong about microdata

Marking up what is not there. Structured data must match the visible content; a rating in the markup with no rating on the page is a policy violation and can earn a manual action. The other mistake is mixing formats carelessly, with microdata in the template and JSON-LD from a plugin saying different things. The third is expecting rich results on demand. Valid markup makes a page eligible; it does not guarantee the engine will show the richer format.

Questions

People also ask

What is the difference between microdata and JSON-LD?

Microdata adds attributes to the HTML elements that hold the content. JSON-LD puts the same information in a separate script block. Both use schema.org vocabulary; Google recommends JSON-LD because it is easier to maintain.

Does microdata help SEO?

Structured data in any format helps a page qualify for rich results, which can increase clicks. It does not directly raise rankings.

Is microdata still supported by Google?

Yes. Google supports microdata, RDFa and JSON-LD. New implementations usually choose JSON-LD, but existing microdata continues to work.

Next to it in the glossary

  1. Meta TitleThe meta title is the title tag in a page's HTML head, shown as the clickable headline in search results and the label on a browser tab.
  2. Metadata OptimizationMetadata optimization is the practice of writing and refining a page's title, description, structured data and other hidden descriptors so search engines understand it and searchers click it.
  3. Metrics in BusinessMetrics in business are the measured quantities a company tracks, such as revenue, margin, churn and conversion rate, to judge performance and make decisions.
  4. Mobile-First IndexingMobile-first indexing is Google's practice of crawling and indexing the mobile version of a website as the primary version used for ranking.
  5. Name Address Phone Number (NAP)NAP is a business's name, address and phone number, which must appear identically across its website, Google Business Profile and every directory for local search to trust it.
  6. Natural LinkA natural link is a link to your site that another site added on its own, because your page was worth pointing to, with no payment, exchange or request behind it.

Every SEO and Analytics term →

In the work

Where it shows up

All our creations →

From the journal

Read around it

The journal →

Talking the talk is one thing

We make the work.

RIOT is a creative agency and production studio in New York. Strategy, brand, film, photography, design and the campaigns that carry them, made by one team. A few lines is enough to start: we read every brief the same day.

    Footage