I am trying to validate my pages, but I am getting the following errors on which are for my twitter button. I am using HTML 4.01 Transitional. I have found that this version does not support these attributes, but is there any way to work around this so that I can have the button on my page? I saw that you can use an iframe, but that had it's own error and I would prefer not to use it.
•Line 16, character 12:
data-count="none" data-via="CozyCactusGifts">Tweet</a>
^Error: there is no attribute DATA-COUNT for this element (in this HTML version)
•Line 16, character 28:
data-count="none" data-via="CozyCactusGifts">Tweet</a>
^Error: there is no attribute DATA-VIA for this element (in this HTML version)
The page is: wedding gifts
CODE
<a href="http://twitter.com/share" class="twitter-share-button"
data-count="none" data-via="CozyCactusGifts">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></li>
data-count="none" data-via="CozyCactusGifts">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></li>
Thanks for your help!