
I thought that a cool little feature I could start doing on this blog would be to share little HTML tips for all of my bloggy friends out there. They will be short and sweet, and hopefully you will learn something you didn't know before! So here we go.... blog tip #1:
How to encode your email address
Having a blog, many of us are scared to post our email addresses on it as links for fear that we will be spammed by bots or ghosts or people from China telling us they have an inheritance for us to claim. I see email addresses written like this all the time (and I admit, sometimes I am guilty of it too... when I am too lazy):
dana[at]thewonderforest[dot]com
Or other variations of the @ and .com. I don't know about you, but personally I hate having to type out someone's email address and replace the [at]s and [dot]s with the real characters when sending them a note. I'd much rather just click the link and have my email program pop up. So how can you do this without the spam risks? EASY! Encode your email address.
Encoding basically turns your text into a bunch of crazy looking characters, so it can't be read by bots, etc. There are a bunch of websites that allow you to quickly and easily convert your email address to crazy encoded characters... like this one.
All you do is type your real email address into the box, and hit "Encode". Then, copy the encoded text to your blog and replace your email address with it.
for example, my email address looks like this when encoded:
dana@thewonde
rforest.com
Pretty, huh? So if I wanted to link my email address on my website like this:
dana@thewonderforest.com
I would enter (in HTML):
<a href="mailto:dana@thewo
nderforest.com">
dana@thewonde&
#114;forest.com
</a>So you're pasting the encoded email address two times. Once in the A HREF "mailto" code, and once where the actual name of your link would go. When you view your blog, all you will see is your actual email address, not these crazy characters as they stay behind the scenes.
If you wanted to link some text to your email address, you could also do this easily. To get a link that looks like this:
click here to email me
You could just change the purple text in the example above to your text, i.e. "click here to email me". Easy!! You could also do this with image links.
Hopefully I didn't confuse the pants off of you! Let me know if you have any questions! Do you think I should continue these little tips??
xo Dana


Awesome! I never thought about doing that. Just encoded mine. Thanks!
ReplyDeletethis is awesome! i didn't know there was even such thing. i too have having to replace the [at] and [dot] thanks!
ReplyDeleteYes! Keep the tips coming! Great idea girl!
ReplyDeletegood to know!! :)
ReplyDeleteAwesome post. I need all the help i can get. I am computer clueless.
ReplyDeletenice blog and posts! love your header! :)
ReplyDeletehttp://liberty-walk-sara.blogspot.com/
I love your blog. All of your diy's and helpful tutorials are well...helpful, haha.
ReplyDeleteThanks for the comment, stop by again (:
kate
This is so great!
ReplyDeleteYou rock.
<3
Daryl
Roots, Wings, and Other Things
Great tip!
ReplyDeletehttp://initialed.blogspot.com
Absolutely think this is a great idea! Thanks for sharing with all of us!
ReplyDeleteThis is awesome. I never knew this was possible! Thanks for sharing!
ReplyDeleteI'm 400 years late, but this is great. Thank you for sharing. I immediately updated the email addresses on my site using this encoded method. No more copy/pasting. :) Thanks again!
ReplyDelete- Ronni
anywhere-is.net
ronni@anywhere-is.net
hi there! I have a question, if I may. I was wondering how to get your email to be your webstire address, like you have done? I have a gmail account but i would like mine to have my address in it. Like this olivia@oliviarachel.com.
ReplyDelete