close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


G+ code fails W3C validation

Thread began 10/10/2011 10:22 am by info97301 | Last modified 10/13/2011 2:11 am by info97301 | 906 views | 2 replies |


G+ code fails W3C validation


I've installed the 'share' icons on a page, which otherwise validates properly on the W3C markup checker.

However, the google+ code fails on the following:

There is no attribute "size"

<g:plusone size="medium" count="false" href="https://etc </g:plusone>

For the same libe there is also:
There is no attribute "count"
There is no attribute "href"

element "g:plusone" undefined

There is also, further down (in the LinkedIn section):

there is no attribute "data-url"

<script type="in/share" data-url="https://etc "></script>

Plus, the URL's have become https: whereas it is actually http:// (I see this should be easy to change in code view.

Appreciate any fixes.


Sign in to reply to this post

Dani Chankhour

Unfortunately we can't change the syntax of the code that is displayed since that is the recommended code from each of the Social Media.

We will make a note of this issue in future releases to see if there is a work around. But meanwhile all those attributes are need for the share button to work properly.

Sign in to reply to this post


Hi Dani

Thanks for checking anyway; I find it very disappointing that one of the leading Internet businesses can't be bothered to ensure compliance before releasing code. Not the first time that Google generated code hasn't been compliant.

If Google can't insist on it, what encouragement is there for others?


Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...