How to Encrypt Your Email Address in HTML Code | The Marketing Shop.com
  • How to Encrypt Your Email Address in HTML Code

    If you put an email address directly on a web page–any web page–it can be picked up by spam bots. These spammers will send spam to your email inbox constantly. One way around this is to encode your email address into ASCII.

    For example, tms@themarketingshop.com would become tms@themarke
    tingshop.com

    It may look like one long code in the HTML, but the browser will interpret the ASCII and turn it into English letters.

    Each letter has a corresponding ASCII code, you simply need to substitute each letter with an ASCII code such as:
    t = t
    m = m
    s = s

    You should encode the whole email address starting at ‘mailto’ so that spammers don’t pick up on the fact that there is an email address.

    This web page contains a whole list showing what the ASCII code for each letter is:
    http://www.nationalfinder.com/html/char-asc.htm

    Share and Enjoy:
    • Digg
    • Sphinn
    • del.icio.us
    • Facebook
    • Mixx
    • Google Bookmarks

      Post to TwitterTweet This Post

    blog comments powered by Disqus