Forums / General Questions / Facebook, Twitter, Google buttons and W3C validation

Facebook, Twitter, Google buttons and W3C validation

Views: 1,627

Results 1 to 1 of 1
6 Sep 2012, 9:49 AM
#1
crazysarah avatar

crazysarah

New Zenner

Join Date:
May 2012
Posts:
45
Plugin Contributions:
0

Facebook, Twitter, Google buttons and W3C validation

Hi there, I've added the FB Google+ and Tweet buttons to the header of my site just using the code which comes from the developers areas of the respective websites.

When I run it through the validator however, I get lots of errors like:

cannot generate system identifier for general entity "appId"
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=144176452325042";

general entity "appId" not defined and no default entity
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=144176452325042";

reference not terminated by REFC delimiter
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=144176452325042";

Then a bunch of other ones like:

there is no attribute "data-href"
div class="fb-like" data-href="http://www.mysite.com" d…

there is no attribute "data-layout"
.com" data-send="false" data-layout="button_count" data-width="100" data-sho…

there is no attribute "data-show-faces"
lse" data-layout="button_count" data-width="100" data-show-faces="false"></div>

And several more about there not being attributes for "whatever". I'm not sure what I can do about this, I think it might have something to do with the doctype? but I'm not sure I should be changing that. Could some kind soul who knows what this is all about point me in the right direction?