Wednesday, October 21, 2009

My html email link does not work?

%26lt;p%26gt;contact / %26lt;font color="#CC0000"%26gt;%26lt;a href="mailto:email@me.ws" target="_blank"%26gt;%26lt;font color="#CC0000"%26gt;email@me.ws%26lt;/font%26gt;%26lt;/a%26gt;%26lt;/...


%26lt;/section%26gt;








--------


thanks for any pointers

My html email link does not work?
Hi there,





I just pasted your code into one of my applications and it worked for me. I just sent you an email, check and see if you got it.. (from Wenchie).





I don't know what code is before the code you pasted here, but make sure that section tag should be there, meaning you have an open %26lt;section%26gt; tag. You have an extra font color link in there, one before the %26lt;a%26gt; tag and one after. You can remove one of those since you only have one closing %26lt;/font%26gt; tag that I can see. Also you can remove the target="_blank" from your email link. You don't need that in a mailto: link.





Let me know if you didn't get the email and we can look deeper. Perhaps it's just not working for you. Do email links normally open up okay for you?
Reply:You might want to re-think that... putting your email address on a web page is a good way to open yourself up to spammers... and we're talking hundreds of emails per day, easy.





Options...





1) Put your email address text inside an image file. Yes, it's less convenient to the visitors, but it will foil the spam-gathering robots.





2) Use a well-designed contact form on your website and have people email you that way instead. Note that I said well-designed... if precautions aren't taken, spammers can still use the form... and worse, they can send spam to others and make it look like it came FROM you.





3) Keep your email in the form as planned, but put spam-battling software in place on your email account. Something like SpamAssassin or MailWasher.
Reply:Remove the target attribute in your a tag, and close your font tags properly. Here's what it should look like:





%26lt;p%26gt;Contact/


%26lt;font color="#CC0000"%26gt;


%26lt;a href="mailto:email@me.ws"%26gt;


email@me.ws


%26lt;/a%26gt;


%26lt;/font%26gt;


%26lt;/p%26gt;


No comments:

Post a Comment

Blog Archive