Forum Moderators: martinibuster
I decided to try and increase my links from del.icio.us by copying the following code into the footer of each of my web pages (by means of a php include):
<a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400'); return false;"> Save This Page</a>
This code comes from the following page on the del.icio.us website - [del.icio.us...]
The save button works fine, but I am now getting errors when I validate the page on the W3C site. Is this likely to cause a problem with my Google ranking? I know that Google is supposed to prefer code that validates properly. If so how can I get the code to validate?
P.S. To moderators - I know posting links is technically against the Webmasterworld terms and conditions, however it's not as if I'm using the link to promote my own website and it will probably help people provide a better answer - please feel free free to edit the post to remove the links if you like.
snippet:
/post?v=4&noui&jump=close&url=
The link will still work fine for your visitors and the validator will pass it.
Either way though that isn't an error that is likely to cause issues with Google, but I always change it just to get a clean validation ;).