Protecting Email Addresses
The easiest way to stop email harvesters getting your address off a web page is
by not putting it there in the first place!
There are various ways of 'confuscating' addresses, most of which use
Instead of an email address give your users a response form to fill in and send.
You may have to protect against robot form submitters but that's probably the
If you MUST have an email address on a page, add it in html in the following
format and DON'T make it a clickable link.
This shows correctly, allows users to copy and paste it into their email client,
but isn't seen by the automatic harvesters. I wrap it in a span tag and give it
a title that tells the user to copy and paste the link, as in the example below.
Hint: You can check whether the spam bots can 'harvest'
email addresses from your pages by using the code snippet at the address below,
although it does need you to run PHP on your server.