Microdata
เป็นข้อกำหนดสำหรับการฝังข้อมูลที่เครื่องอ่านได้ในเอกสาร HTML Microdata ประกอบด้วยคู่ name-value (เรียกว่า items) ที่กำหนดตามคำศัพท์ Schema.org มีชุดคำศัพท์มาร์กอัปที่ใช้กันโดยทั่วไป
ไวยากรณ์พื้นฐานประกอบด้วยแอตทริบิวต์ itemscope เพื่อกำหนดรายการ และแอตทริบิวต์ itemprop เพื่ออธิบายพร็อพเพอร์ตี้รายการรายการหนึ่ง ระบุประเภทโดยใช้แอตทริบิวต์ itemtype ซึ่งใช้ค่าที่กำหนดไว้ในคำศัพท์ที่คุณเลือกได้ ตัวอย่างเช่น schema.org กำหนดประเภทต่างๆ เช่น
http://schema.org/Person หรือ http://schema.org/PostalAddress
ตัวอย่างต่อไปนี้ (จาก Wikipedia) แสดงวิธี ใช้ Microdata เพื่ออธิบายบุคคล
<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="https://www.example.com" itemprop="url">www.example.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>
ดูทดสอบสคีมาเพื่อแก้ไขข้อบกพร่อง ของมาร์กอัปและตรวจสอบมาร์กอัปกับสคีมาที่รองรับ