Inserting email addresses
I am very new to web building and am trying to get my site up and running. I have included some contact email addresses and would like them to be type that people just have to click on to use. I'd rather they didn't have to cut and past or re-type. I can't seem to figure out how to make this happen. When I entered an email account on a previous attempt, it automatically recognized the information as and email address, but for some reason not this last time.
Here's the code that comes up when I click the html button.
<h3><span style="color: #000000;">[email protected]</span></h3>
Thanks for your help.
...that's "mailto:" (with the colon but without the quotes) followed by the email address.
Just be aware that not all methods of encryption are equal and thus might not provide adequate protection.
Just as an example, I post my email as-is all over the place (here on the forums, on my own website, etc.) and I don't have any problems with that because anything spammy just gets filtered out by my email program (Apple Mail on OSX).
> Depending on which email program you use...
Why even worry about which email program you or a client uses when obfuscation is a simple, prudent and effective measure to take? Besides, many folks access their email from different locations using different email clients (mobile, web-based, local, etc).
Also, and perhaps more importantly, just because you're not seeing the spam doesn't mean it isn't being sent. Why even make the address available to harvesters and contribute to unnecessary network traffic and resource utilization. Simple effective (and free) obfuscation takes the problem on more directly.
Filters are not without their problems either. I've read much about folks having to constantly tweak them because they become less and less effective and/or they experience lots of "false positives" - i.e. legitimate mail that gets flagged as spam.
Of course, that doesn't mean the various obfuscation techniques might not be rendered ineffective some day, but for now, it seems to be a cheap, quick, and effective measure to take - at least in my experience.
I guess I'm just seeing the issue from a very different perspective.
> I'm saying that you don't *need* to use them.
Of course you don't "need" to use them. It's not a question of "need".
> someone who is visually impaired won't be able to see the address
That's perhaps the most compelling reason to avoid not only email obfuscation but JS altogether. Too bad the accessibility standards and assistive technologies are so incompatible with the latest web standard and development techniques. :-/
You are absolutely correct, but you have to consider the target audience for the site. Most of the time, that's a trade-off I'm more than willing to make.
> In effect, you're making it harder on some users...
Only IF those users are unable or unwilling to deal with JS. Not every website is designed/intended for everyone who accesses the web; nor is email the only means of contact.
> My take on it is you should do everything you can to make it as easy as possible
> for anyone to contact you, and it's up to you to deal with the burden of spam.
My take on it is that if I can make it as easy as possible for those interested in contacting me to do so while at the same time preventing spam without much effort on my part, then that's the route I'll take. Plus, as mentioned previously, email is just one (albeit an important one) means of contact / communication.
> Also there's the question of whether this obfuscation even works...
You seem to be lumping all obfuscation techniques together with that statement. There's little question obfuscation can work. The question is how well, and that depends on which obfuscation technique you use and how badly the "bad guys" want your address.
True, but in actual practice, it likely rarely happens, as it would require more resources (computing power, time, and money) to actually render the page to snag an address. But as I hinted, this could become irrelevant in the future if email spam remains profitable and as computing resources become cheaper.
So I guess it comes down to the fact that you are content pulling across the spam and having it expunged, while I'm quite pleased with the fact that I never even have to pull it across the connection at all.
And I think we may have overwhelmed the OP :)
Anyway, I'll shut up now...
For some time as I recall, we linked names of employees with their e-mail addresses in the "mailto:" format. Now, when we click on these from multiple different browsers and computers, nothing happens!
Any idea why that might be happening?