在HTML页面中的何处放置schema.org标签? [英] Where to put schema.org tags in HTML page?

查看:226
本文介绍了在HTML页面中的何处放置schema.org标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该在哪里放置schema.org标记? 我有3种选择:

Where should I put schema.org tags? I have 3 options:

  1. 文章的详细页面
  2. 在类别"页面上的文章 类别
  3. 在搜索页面上
  1. at detail page of article
  2. at category page where are articles of category
  3. at search page

我应该在所有这些页面上放置schema.org标记吗?

Should I put schema.org tags on all these pages or?

推荐答案

您可以在所有页面上使用Schema.org.

You can use Schema.org on all pages.

各种消费者可能会发现它很有用.为什么他们必须访问特定页面才能看到您已经看到的内容的Schema.org标记?

Various consumers might find it useful. Why should they have to visit a specific page to see your Schema.org markup for content they already see?

请确保不要在同一页面上为同一事物创建多个项目,除非您将它们表示为同一事物(例如,使用

Just make sure that you don’t create several items for the same thing on the same page, unless you denote them as being about the same thing (e.g., with Microdata’s itemid or by using the same subject URI in RDFa).

您可以使用 mainEntity /

You could use mainEntity/mainEntityOfPage to denote which item the page is primarily about.

这篇关于在HTML页面中的何处放置schema.org标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆