Open Graph validation for HTML5

后端 未结 12 697
情歌与酒
情歌与酒 2020-11-29 01:04

Is there any way to get facebook\'s crappy Open Graph meta tags to validate if my doctype is (HTML5)?

Other than facebook\'s Open

12条回答
  •  Happy的楠姐
    2020-11-29 01:34

    I would be inclined to say don't worry about validation, I don't believe having invalid mark up will hurt your search engine ranking. e.g. googles technical recommendations do not mention standards. http://www.google.com/support/webmasters/bin/answer.py?answer=35769#2 . Html5 allows you provide more information to search engines which they can then use, but I can't see them down ranking based on not validating.

    However if you feel it helps you to validate you can use

    
    

    to have these tags present and have a html file that will pass validators.

提交回复
热议问题