Free auditStart free
GlossaryGlossary · RDFa

RDFa

RDFa (Resource Description Framework in Attributes) adds machine-readable data to HTML tags. See the five RDFa Lite attributes and what Google recommends.

3 min
read
3
sources
Oct 21, 2026
updated
Scaplet Editorial Team
author
In one line

RDFa (Resource Description Framework in Attributes) is a W3C technique that adds machine-readable data to HTML through tag attributes. Google supports RDFa for structured data, but recommends JSON-LD when your site's setup allows it. Keep RDFa if your CMS or theme already outputs it correctly, and match the markup to visible content.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What RDFa is

The W3C RDFa 1.1 Primer describes RDFa as "a technique that allows just that": adding structured data to HTML pages directly. It "provides a set of markup attributes to augment the visual information on the Web with machine-readable hints."

Google defines RDFa as "An HTML5 extension that supports linked data by introducing HTML tag attributes that correspond to the user-visible content that you want to describe for search engines." Like Microdata, it lives inside your visible markup. JSON-LD sits in a separate script block.

03At a glance

RDFa, Microdata or JSON-LD?

Where it lives

RDFa
Attributes on visible HTML
Microdata
Attributes on visible HTML
JSON-LD
A <script> block

Google's position

RDFa
Supported
Microdata
Supported
JSON-LD
Recommended when your setup allows it

Best fit

RDFa
Existing RDFa output you don't want to rebuild
Microdata
Existing Microdata output
JSON-LD
New work, and markup managed at scale

Google says JSON-LD is "the easiest solution for website owners to implement and maintain at scale (in other words, less prone to user errors)." It also notes RDFa is commonly used in both the <head> and <body> of the page.

04Worth knowing

Using it with Google

Pick the Google feature first

Rich result types come with their own required properties, which the vocabulary alone won't tell you.

Describe what's visible

RDFa attributes sit on the content people read, which makes mismatches easier to spot than in a script block.

Mind mixed vocabularies

The W3C primer notes that vocab gets awkward when vocabularies such as Dublin Core and schema.org are intertwined, and shows prefix as the fix.

Questions

Asked a lot.

5 questions people ask next, answered from the sources on this page.

01What does RDFa stand for?

Resource Description Framework in Attributes. W3C describes it as a technique for adding structured data to HTML pages with markup attributes.

02Does Google support RDFa?

Yes. Google lists RDFa as one of three structured data formats, alongside JSON-LD and Microdata.

03Which is better, RDFa or JSON-LD?

Google recommends JSON-LD if your site's setup allows it, because it is easiest to implement and maintain at scale. RDFa is supported, so there is no need to rebuild working markup.

04What is RDFa Lite?

A minimal subset of RDFa with five attributes: vocab, typeof, property, resource and prefix. W3C says it works for most day-to-day needs.

05Can I use schema.org terms with RDFa?

Yes. Set vocab to http://schema.org/, as in W3C's RDFa Lite examples.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • w3.org
  • google.com
  1. 01RDFa 1.1 Primer - Third Editionw3.org · checked 2026-10-25
  2. 02RDFa 1.1 Litew3.org · checked 2026-10-25
  3. 03Introduction to structured data markup in Google Searchdevelopers.google.com · checked 2026-10-25
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly