Tag: microdata

您是否将架构微数据元标记放在html正文中?

我search了很长时间,通过互联网和stackoverflow为这个问题的答案,我发现的链接,说你不应该把元标签在身体: 在<body>中使用HTML5 + Microdata的<meta>标签 在身体部分传递元数据 身体中的元标记 而schema.org网站清楚地显示meta标签直接嵌套在主体http://schema.org/AggregateRating中 看看那里发布的例子 Customer reviews: <div itemprop="reviews" itemscope itemtype="http://schema.org/Review"> <span itemprop="name">Not a happy camper</span> – by <span itemprop="author">Ellie</span>, <meta itemprop="datePublished" content="2011-04-01">April 1, 2011 <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> <meta itemprop="worstRating" content = "1"> <span itemprop="ratingValue">1</span>/ <span itemprop="bestRating">5</span>stars </div> <span itemprop="description">The lamp burned out and now I have to replace it. </span> […]