vocab
- What it does
- Names the vocabulary of terms you will use, such as
http://schema.org/
RDFa (Resource Description Framework in Attributes) adds machine-readable data to HTML tags. See the five RDFa Lite attributes and what Google recommends.
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.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
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."
vocabhttp://schema.org/typeofPersonpropertyresourceid for described thingsprefixThis is W3C's own RDFa Lite example, marking up a name, a phone number and a web page with schema.org terms:
<p vocab="http://schema.org/" typeof="Person">
My name is
<span property="name">Manu Sporny</span>
and you can give me a ring via
<span property="telephone">1-800-555-0199</span>
or visit
<a property="url" href="http://manu.sporny.org/">my homepage</a>.
</p><script> blockGoogle 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.
Rich result types come with their own required properties, which the vocabulary alone won't tell you.
RDFa attributes sit on the content people read, which makes mismatches easier to spot than in a script block.
Run pages through the Rich Results Test and the Schema Markup Validator.
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.
5 questions people ask next, answered from the sources on this page.
Resource Description Framework in Attributes. W3C describes it as a technique for adding structured data to HTML pages with markup attributes.
Yes. Google lists RDFa as one of three structured data formats, alongside JSON-LD and Microdata.
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.
A minimal subset of RDFa with five attributes: vocab, typeof, property, resource and prefix. W3C says it works for most day-to-day needs.
Yes. Set vocab to http://schema.org/, as in W3C's RDFa Lite examples.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.