Tested tool guide
Tested browser tools
Checked August 16, 2026
What RDFa Markup Generator does, with a checked example
RDFa encodes structured data as plain HTML attributes: a `vocab` attribute points the page at a vocabulary such as Schema.org, and `typeof` and `property` attributes say what an element is and what its values mean. This generator takes a vocabulary, a type, and a set of properties, and returns ready-to-paste markup you can wrap around content you already have. The thing most people get wrong is placement: nested property attributes describe the nearest enclosing element that declares `typeof`, so moving a snippet onto a different element silently changes the meaning of the whole block.
Worked example
A concrete input and expected output from the current implementation.
Input
Vocabulary: https://schema.org/ | Type: Person | name = Ada Lovelace, email = [email protected]
->
Expected output
<div vocab="https://schema.org/" typeof="Person">
<span property="name">Ada Lovelace</span>
<span property="email">[email protected]</span>
</div>
With `vocab` in scope, the bare tokens Person, name, and email expand against the vocabulary to https://schema.org/Person, https://schema.org/name, and https://schema.org/email. The div's `typeof` opens a new subject, and each `property` generates one triple whose object is the element's text content.