Using a different image for microdata that isn't displayed in the article?

后端 未结 2 1754
滥情空心
滥情空心 2020-12-21 18:57

I\'m working on a website that has a bunch of articles.

I\'m looking to find a way to add an image that is invisible without putting it inside a hidden div.<

2条回答
  •  不思量自难忘°
    2020-12-21 19:28

    You can use JSON-LD instead of microdata.

    That way you add everything you want in JSON data that is not displayed in the page, but recognized by most search engines.

    Here is an example taken from http://schema.org/CreativeWork:

    
    

提交回复
热议问题