Opengraph W3C valid?

前端 未结 5 1931
长情又很酷
长情又很酷 2021-02-14 19:26

I would like to know if the opengraph markup is W3C valid, I\'m getting the following error when I try to validate it:

Line 14, Column 17: there is no attribute          


        
5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-14 19:51

    It's not valid in the normal HTML doctypes, but there is a doctype you can use to validate XHTML documents including Open Graph:

    
    

    See this question: Html validation error for property attribute

提交回复
热议问题