Hide Microdata property value in 'content' attribute?

后端 未结 3 1262
终归单人心
终归单人心 2020-12-02 03:29

I work on a website that recently had Schema.org markup added to it, but I think it is being used wrong.

Schema.org gives the example of



        
3条回答
  •  Happy的楠姐
    2020-12-02 03:46

    If you want to stick with microdata schema then you need to switch to the meta tag, exactly as 'unor' has written and explained very well. However, you could go with JSON-LD and put everything in the header and eliminate the badly written microdata if you want to save time. JSON uses the same schema method as microdata, but the coding is different.

提交回复
热议问题