New Facebook like button HTML validation

前端 未结 15 1972
抹茶落季
抹茶落季 2020-12-02 11:34

After adding the new facebook like button on my page, it\'s no longer validates using XHTML strict standard. The two errors I come across are:

  1. All of the
15条回答
  •  旧时难觅i
    2020-12-02 11:49

    starting today you can also use HTML5-compliant markup

    e.g. instead of

    
    

    you can do

    Since data-* attributes are valid in HTML5

提交回复
热议问题