View Full Version : Connecting emai link using html
I am building my web site and (at the risk of sounding dumb), I can't figure out how to link a button to my email address. I'm not using the correct tags or something?! Help!
If you want the click of a button to email you, use this code:
<FORM>
<INPUT TYPE="button" VALUE="Email Me" onClick="parent.location='mailto:Your@Email.com'">
</FORM>
RocketJeff
1-29-03, 08:41 AM
If you do this, however, be prepared for a tidal-wave of spam. This is one of the main ways that spammers get the email addresses they use.
Also, since they go through the text of websites looking for anything that looks like an address too, it's best to mung it up a bit (i.e. "email me at webmaster at website.com").
The best solution, if it works for you, is to set up a 'contact' page with a formmailer so the user can send you a message without ever seeing your email address.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.