Microdata

Microdata ist eine HTML-Spezifikation, um Daten lesbar für Maschinen in HTML-Code einzubetten. Die Grundsyntax besteht aus einem itemscope Attribut, das einen Block als Structured Data kennzeichnet, und dem itemprop Attribut, das die Eigenschaft eines Items beschreibt. Der Typ der Structured Data wird durch das Attribut itemtype definiert.

Ein Beispiel von Wikipedia:

<section itemscope itemtype="http://schema.org/Person"> 
    Hello, my name is
    <span itemprop="name">John Doe</span>,
    I am a
    <span itemprop="jobTitle">graduate research assistant</span>
    at the
    <span itemprop="affiliation">University of Dreams</span>.
    My friends call me
    <span itemprop="additionalName">Johnny</span>.
    You can visit my homepage at
    <a href="http://www.JohnnyD.com"
itemprop="url">www.JohnnyD.com</a>.
    <section itemprop="address" itemscope
itemtype="http://schema.org/PostalAddress">
        I live at
        <span itemprop="streetAddress">1234 Peach Drive</span>,
        <span itemprop="addressLocality">Warner Robins</span>,
        <span itemprop="addressRegion">Georgia</span>.
    </section>
</section>

Auf der Webseite von schema.org findet sich das nötige Vokabular.