HTML5 Please

Microdata DOM API

Safe to use with polyfillapi

Microdata is a new lightweight semantic meta-syntax.

Verdict
Safe to use
Category
JavaScript APIs
Browser support
Can I Use
Works in
all modern browsers

Should you use Microdata DOM API in 2026?

Using attributes, we can define nestable groups of name-value pairs of data, called microdata, which are generally based on the page's content. It gives us a whole new way to add extra semantic information and extend HTML5. Microdata is already being used by google to extract semantic meta data from your webpage.

The Microdata DOM API is helpful because you can manipulate items and properties on a page programmatically, perhaps to present the information in a searchable/filterable manner, or deliver it to another application somewhere else.

It's supported by Firefox 16+, and pre-Blink versions of Opera.

Polyfills and fallbacks

microdata shim