קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מיקרו-נתונים הם מפרט להטמעת נתונים שניתנים לקריאה על ידי מכונה במסמכי HTML. מיקרו-נתונים מורכבים מצמדים של שמות-ערכים (שנקראים items) שמוגדרים לפי אוצר מילים. schema.org מספקת אוסף של אוצרות מילים של תגי עיצוב נפוצים.
התחביר הבסיסי כולל את המאפיין itemscope להגדרת פריט ואת המאפיין itemprop לתיאור אחד מהמאפיינים של הפריט. הסוגים מצוינים באמצעות המאפיין itemtype, והם יכולים לקבל ערכים שמוגדרים באוצר המילים שבחרתם. לדוגמה, schema.org מגדיר סוגים כמו http://schema.org/Person או http://schema.org/PostalAddress.
הדוגמה הבאה (מ-Wikipedia) מראה איך משתמשים במיקרו-נתונים כדי לתאר אדם:
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-12-21 (שעון UTC)."],[[["Microdata is an HTML specification used to embed machine-readable data in webpages using name-value pairs called `items` which are defined within a vocabulary."],["Schema.org provides commonly used vocabularies to structure the data, and items are marked up with attributes like `itemscope`, `itemprop`, and `itemtype` for machines to understand."],["The syntax involves defining an `item` and its `properties` using these attributes, and specifying a vocabulary such as schema.org for types like `Person` or `PostalAddress`."],["You can validate your Microdata implementation using the Schema Validator tool to ensure correctness and compatibility with supported schemas."]]],[]]