Здравейте имам facebook box и W3C Валидатора приема за грешка.
there is no attribute "data-width"
there is no attribute "data-show-faces"
there is no attribute "data-border-color"
there is no attribute "stream"
there is no attribute "data-header"
Имали начин да се оправи, така че валидатора да не ги приема за грешки.
there is no attribute "data-width"
there is no attribute "data-show-faces"
there is no attribute "data-border-color"
there is no attribute "stream"
there is no attribute "data-header"
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<div id="fb-root"></div>
<script type="text/javascript">(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="linkkk" data-width="299" data-show-faces="true" data-border-color="58800" stream="false" data-header="true"></div>
Имали начин да се оправи, така че валидатора да не ги приема за грешки.