NEW
An HTML specification enabling machine-readable metadata within web pages using embedded name-value pairs.
DESCRIPTION
Microdata is an HTML standard to annotate web content with machine-readable metadata. It embeds name-value property pairs directly in markup, enabling search engines and agents to interpret page semantics. Frequently used with Schema.org vocabularies, Microdata supports rich results and improved discoverability. Alternatives include JSON-LD and RDFa, which separate or extend metadata from content. Microdata is useful when tight coupling to HTML elements is desired, but can be harder to maintain than JSON-LD in dynamic sites.
ALTERNATIVE DEFINITIONS
WHATWG HTML Living Standard
Microdata allows nested name-value pairs to be added to documents, in a way that is machine-readable.
Defines Microdata’s core mechanism within the HTML Living Standard.
MDN Web Docs
Microdata is a WHATWG HTML specification used to nest metadata within existing content on web pages.
Emphasizes embedding metadata directly within HTML content.
Google Search Central
You can add structured data to your pages using supported formats including JSON-LD, Microdata, and RDFa.
Positions Microdata as one of multiple supported structured data formats for search.
RELATED TERMS
Schema.org Hypertext Markup Language Open Graph Structured Data Search Engine Rich Results Web Crawler
COMPETING TERMS
KNOWLEDGE AREAS
Semantic & Knowledge Modeling Data Integration & Interoperability Metadata Management Software Engineering
TARGET AUDIENCE
Software Developer Data Engineer Data Architect UI-UX Designer Information Analyst
EXTERNAL SOURCES
- Wikipedia - Microdata (HTML)
- WHATWG - Canonical Microdata specification
- MDN Web Docs - Developer guide to Microdata
- Google - Search structured data formats
TOP QUESTIONS
When should I use Microdata versus JSON-LD?
Choose Microdata when metadata must bind tightly to specific HTML elements. Prefer JSON-LD for cleaner separation, easier maintenance, and dynamic rendering with modern frameworks.
Category: Distinction
How does Microdata help with SEO?
Microdata makes content semantics explicit, enabling rich results and improved indexing by search engines. Correct vocabularies and markup are essential for consistent outcomes.
Category: Application
What are common Microdata mistakes?
Using incorrect itemprop names, nested items incorrectly, or mixing vocabularies poorly. Failing validation and omitting required properties reduces search benefits.
Category: Mistakes
How is Microdata validated?
Use structured data testing tools and validators from browser devtools or search engines. Validate against schema.org vocabularies for completeness and correctness.
Category: Validation
Is Microdata still relevant?
Yes, although JSON-LD is often preferred for maintainability. Microdata remains useful for tightly coupled markup and legacy systems.
Category: Relevancy
What knowledge is required to author Microdata?
Basic HTML, schema.org vocabularies, and understanding itemscope, itemtype, and itemprop attributes. Familiarity with structured data testing tools helps.
Category: Requirements
Which vocabularies are commonly used with Microdata?
Schema.org is most common; custom vocabularies are possible but less interoperable. Align with widely supported types for best search outcomes.
Category: Overview
Can Microdata coexist with RDFa?
Yes, but mixing can complicate maintenance. Prefer one format for consistency and simpler validation pipelines.
Category: Opinion
What is the biggest misunderstanding about Microdata?
Many think it guarantees rich results. It enables eligibility, but search engines determine rendering based on quality, compliance, and context.
Category: Misunderstanding