iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register

Go Back   WebForumz.com > Resources > Tips & Tricks > (X)HTML & CSS
Register All Albums Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Author


karinne
Karinne Legault is a Programmer Analyst working in Federal Government in Canada now working on .NET projects which she is still trying to get to grips with.

Her passion however is Web Design where she has 10 years experience. In the early years, just getting to grips with the movement of Web Standards being an integral part of the services she offers. You can view her portfolio site at KarinneLegault.com

RSS Feed

Your Options
Protect your email address from being harvested by spammers

To stop spammers read on.

For instance if my email address is info@ihatespam.com, my html code would look like this:

<a href="mailto:info@ihatespam.com">info@ihatespam.com</a>

That's really easy for spam bots to pick up! Not good!

What is good is to use special characters or character entities to replace each letter of that email.

For the letter "m" the character value is m

The letter "a" is represented by a

and so on.

So now my cloaked email address would look like this:


<a href="mailto:info@
ihatespam.
com">info@ihatespam.com</a>

For a list of ASCII characters see: http://www.w3schools.com/tags/ref_ascii.asp.


Related Resources

Members's Comments
Posted at August 4th, 2008 by Junebug
I meant to say, "Do mean replace the @ with the character code for it?"
Posted at July 22nd, 2008 by AceTutor
It would be good if the above made sense.
Simply replace the @ with the following characters - remove quote marks

"&" "#" "6" "4" ";"

will spoof spam hunters.
Page 1 of 1


Search Engine Optimization by vBSEO 3.2.0 RC8