【问题标题】:Can I add a tag within a tag in Microdata?我可以在 Microdata 的标签内添加标签吗?
【发布时间】:2015-05-08 10:26:23
【问题描述】:

我正在为即将举行的培训课程标记内容。我有点掌握它的窍门。但是我有我的描述:

<span itemprop="description">This 2 day certificated course meets the requirements of all management standards for ....</span>

但我也想声明课程的持续时间。我的问题是我可以在标签内这样做吗?

所以我有:

 <span itemprop="description">This <span itemprop="duration">2 day</span> certificated course meets the requirements of all management standards for ....</span>

或者这可能会混淆 Google(等)?

【问题讨论】:

    标签: schema.org microdata


    【解决方案1】:

    这很好(duration property 的值除外,它应该是“采用 ISO 8601 日期格式”)。

    每个符合标准的微数据解析器都会提取以下值:

    • description:

      这个为期 2 天的认证课程符合 ....的所有管理标准的要求。

    • duration:

      2 天

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-05-15
      • 2016-09-13
      • 1970-01-01
      • 2015-01-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-13
      相关资源
      最近更新 更多