JSON-LD应该放在我的网站上的什么位置?

时间:2018-09-18 18:27:37

标签: json-ld

如何在我的网站上添加以下JSON-LD?

{ "@context": "http://schema.org", "@type": "Organization", "url": "http://www.seekersweb.com/p/anna-university-results-and-student.html", "logo": "http://www.seekersweb.com/2018/08/anna-university-internal-marks.html" }

1 个答案:

答案 0 :(得分:1)

您只需将其添加到<script type="application/ld+json">标记底部的<body>标记中。 以您的示例为例;

<script type="application/ld+json">
{ "@context": "http://schema.org", "@type": "Organization", "url": "http://www.seekersweb.com/p/anna-university-results-and-student.html", "logo": "http://www.seekersweb.com/2018/08/anna-university-internal-marks.html" }
</script>