Title: Fails HTML 5 validation
Last modified: August 21, 2016

---

# Fails HTML 5 validation

 *  [donmcleman](https://wordpress.org/support/users/donmcleman/)
 * (@donmcleman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fails-html-5-validation/)
 * The W3 validator lists the following error for this plugin:
 * > Bad value mailto:?Subject=A Recent Comments widget for a private blog&Body=%
   > 20http://crosswebideas.com/how-to-recent-comments-widget-private-blog.html?
   > w3tc_note=flush_all for attribute href on element a: Illegal character in query:
   > not a URL code point.
 * The full text of the code in question:
 * `<a class="ssba_email_share" href="mailto:?Subject=A Recent Comments widget for
   a private blog&Body=%20http://crosswebideas.com/how-to-recent-comments-widget-
   private-blog.html?w3tc_note=flush_all"><img src="http://crosswebideas.com/wp-
   content/plugins/simple-share-buttons-adder/buttons/somacro/email.png?45e943" 
   title="Email" class="ssba" alt="Email this to someone" />`
 * I’ve fixed all the other validation errors in the plugin code, could you give
   some input on this one please as I’m stumped?
 * [https://wordpress.org/plugins/simple-share-buttons-adder/](https://wordpress.org/plugins/simple-share-buttons-adder/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [sixtyseven](https://wordpress.org/support/users/sixtyseven/)
 * (@sixtyseven)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/fails-html-5-validation/#post-5046410)
 * At first glance: try encode the ampersand before Body=
 * `&Body=`
 *  [sixtyseven](https://wordpress.org/support/users/sixtyseven/)
 * (@sixtyseven)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/fails-html-5-validation/#post-5046411)
 * … &ampSEMICOLON !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fails HTML 5 validation’ is closed to new replies.

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

## Tags

 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 2 replies
 * 2 participants
 * Last reply from: [sixtyseven](https://wordpress.org/support/users/sixtyseven/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/fails-html-5-validation/#post-5046411)
 * Status: not resolved