title: Google +1 Button not W3C compliant
body: <p>So I've been playing with Google's +1 button trying to get it on my website, but it's not W3C compliant.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>&lt;!-- Place this tag in your head or just before your close body tag --&gt;
  &lt;script type="text/javascript" src="http://apis.google.com/js/plusone.js"&gt;
    {lang: 'en-GB'}
  &lt;/script&gt;
  
  &lt;!-- Place this tag where you want the +1 button to render --&gt;
  &lt;g:plusone size="medium" href="http://www.example.org"&gt;&lt;/g:plusone&gt;
  </code></pre>
  
  <p>Does anyone know why this happens and how to make this compliant? Thanks</p>
  
  <p>EDIT: To get this to pass through the validation, I wrote an article on my <a href="http://web.archive.org/web/20130729004033/http://jamesingham.me/blog/google-plusone-w3c-valid" rel="nofollow noreferrer">website</a>.</p>