Best way to obfuscate an e-mail address on a website?

I encode the characters as HTML entities (something like this). It doesn’t require JS to be enabled and seems to have stopped most of the spam. I suppose a smart bot might still harvest it, but I haven’t had any problems.

Leave a Comment