Is this use of structured data incompatible with JSON-LD?

不打扰是莪最后的温柔 提交于 2019-12-08 03:41:54

问题


StackOverflow has some good comparisons of Microdata, RDFa, and JSON-LD, especially in answers by "unor" in 2014, 2015, 2015, and 2016.

Google specifically states "Google recommends using JSON-LD for structured data whenever possible." But when I look at the page source of a Google search, the very first content of the page is:

<!doctype html>
<html itemscope="" itemtype="http://schema.org/SearchResultsPage" lang="en">

The itemscope and itemtype attributes in the <html> tag are microdata. So why is Google using microdata when it tells us to use JSON-LD? Is there something about the use of structured data in that tag that makes it unsuitable for JSON-LD?

来源:https://stackoverflow.com/questions/52375645/is-this-use-of-structured-data-incompatible-with-json-ld

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!