<span onClick="location.replace('http://www.scriptol.com/seo/')" />Anchor</ span>
or with an image:
<img src="image.jpg" onClick="location.replace('http://www.scriptol.com/seo/')" />
It is then easy to interpret these links to search engines.
We know as this has been confirmed by Matt Cutts, the Google spokesman about referencing issues, especially the second point:
- And so they are treated as HTML links.