Microdata: Structured Data Built Into Your HTML

Microdata is a format for embedding structured data directly into your HTML markup. This guide explains how it works and why it matters.

Quick Definition

Microdata is a format for embedding structured data directly into your HTML markup so engines understand your content.

What Microdata Is

Microdata is a way to label the meaning of your HTML using attributes, so search engines know what each piece of content is.

It is one of the three main structured data formats.

How It Works

You add attributes like itemscope, itemtype, and itemprop to your existing tags to describe things like products, reviews, and events.

The markup stays in your page where it belongs.

Why It Matters

  • Feeds rich results like stars and prices.
  • Helps engines understand your content better.
  • Makes pages eligible for richer presentation.
  • Works alongside the other data formats.

How to Use It

  • Match the schema type to your content.
  • Wrap the right tags with the right attributes.
  • Validate with Google's tools before publishing.
  • Keep it truthful and current.
Example in Practice

The markup: a product page marks up its name, price, and rating.

The result: Google shows the product with stars and a price.

The effect: the listing stands out and earns more clicks.

The lesson: labeled data turns plain listings into rich ones.

💡

Quick Tip

Label what your page actually shows, because microdata that describes real content earns rich results, and inventing it earns trouble.

Frequently Asked Questions

Microdata is a format for embedding structured data directly into your HTML using special attributes.
Microdata lives inside your HTML tags, while JSON-LD sits in a script block separately from the markup.
Yes, when marked up correctly it can make your pages eligible for rich results.
JSON-LD is Google's recommended default, but microdata still works if you prefer markup-based data.

Microdata, Bottom Line

Your CMS is the foundation your entire SEO sits on.

Pick one you control, keep it fast and updated, and the technical ceiling stays high.