Script bouton google plus et W3c

auderef

Nouveau WRInaute
Bonjour,

Quand je mets cela, avant la fermmeture du head :
<script src="https://apis.google.com/js/platform.js" async defer>
{lang: 'fr'}
</script>

le W3C validator me marque :
Error: The text content of element script was not in the required format: Expected space, tab, newline, or slash but found { instead.
From line 105, column 1; to line 105, column 9
ng: 'fr'}↩</script>↩</hea
Syntax of script documentation:
Zero or more code comments, each of which is either a single-line comment starting with "//" or a multi-line comment starting with "/*" and ending with "*/". The content must also meet the constraints of the script microsyntax. For further details, see Inline

C'est pour mettre le bouton google plus

Merci si vous avez la reponse
 

auderef

Nouveau WRInaute
Bonjour, ok merci cela fonctionne.

Ben le code je l'ai eu chez google platform plus. Bon ils mettent un parametre de langue pas très utile apparament.

Merci
 

Discussions similaires

Haut