微数据可以很好地平衡丰富性与简单性。如您所见,使用 itemscope 等 HTML 属性(用于定义新项)、itemtype(用于指定所描述项的类型)和 itemprop(用于指定该项的属性)向网页添加标记非常简单。向网页添加标记后,您可以使用丰富网页摘要测试工具测试该网页,以确保 Google 能够解析您网页上的数据。
与微格式和 RDFa 一样,我们支持的词汇(包括 Google 可以识别的商品类型和商品属性)在我们的丰富网页摘要文档和 data-vocabulary.org 中指定。标记您的内容并不能保证为您的网站显示丰富网页摘要;Google 将逐渐扩大微数据标记的使用范围,以确保提供卓越的用户体验。
[[["易于理解","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"]],[],[],["Microdata, a new markup standard within HTML5, enables the specification of structured information on web pages. This allows users to add markup to their web pages using attributes such as `itemscope`, `itemtype`, and `itemprop`, to define and describe items like reviews, people profiles, or events. Google supports microdata for rich snippets and offers a testing tool to validate the markup. This information helps Google enhance the presentation of pages in search results.\n"]]