How to Display an Email Address on a Web Page and Protect it From Spammers
|
Would you like to display
an email address on a web page, but need a way to protect it from spammers?
This tip is for you.
Displaying your email address on your web site is an important part of good
customer service. However, the fear of spam robots harvesting email addresses
prevents many webmasters from doing so.
If you would like to display your email address within your web pages and
not worry about it being harvested, you can protect yourself. Instead of
displaying the usual mailto:you@yourdomain.com, use the following code within
your HTML:
| <A
HREF="mailto:you@yourdomain.com">Contact
Us</A> |
When clicked on, it will display your
email address correctly.
More Web Design
Tips |
|