Skip to main content

Mailto Links Explained

Mailto Links Explained

What is a mailto link?

A mailto link, simply, is a link that enables the person who clicked it to send an email. It is created with HTML and, instead of opening a new web page or moving to another point on the same page, it activates the default email client on a user's computer.

If you want an example, here's one I prepared earlier:

Why should I use a mailto link?

The main reason for using mailto links is to save your readers time. It means they won't have to copy and paste your email address - or risk typos when they retype it. I often see blogging guides recommend you make the email address on your 'work with me' page a mailto link, for example.

On the other hand, it can encourage spam and baffle people who aren't familiar with the option - especially as it might force open an email client they rarely if ever use. It all comes down to what's best for you and your target audience.

How do I create a mailto link?

By using this HTML (you can copy and paste from the box):

<a href="">Link Text</a>

Or, if you want to turn an image into a mailto link (change the width attribute to the percentage of the screen width you want the image to cover):

<a href=""><img alt="description of your image here" src="URL of your image here" width="100%" /></a>

You might want to specify the subject line of the email, again to make it quicker for your readers and to help you differentiate which mailto link is generating interest. You need to use a question mark (?) at the end of the first parameter before going on to the next. To put spaces between the words you need to use '%20'.

<a href="">Link Text</a>

One last step I'll cover is adding in body text - the actual content of the email. Let's say you want to run a blog competition via email. You want the link text (AKA 'anchor text') to read 'Enter my competition', and the email subject line to read 'My Blog Competition'. In the body of the email you want 'Please enter me in the competition! :)'. Your HTML would look like this:

(Note that the second parameter and beyond needs to end in '&' before going on to the next.)

<a href="!%20:)">Enter my competition</a>

Or, if it's all getting a bit complicated, check out the mailto link HTML code generator over at Rapid Tables.

For more posts like this, click the picture below:
Blogging Guides


Popular posts from this blog

Over 200 UK Refer and Earn Offers for 2022

So many stores and services offer special rewards and discounts for recruiting them new customers. No matter what you're into, there's a refer and earn offer for you! Some of these translate to straight up free and easy money through cashback or reward sites, others require you to be an existing customer or jump through several hoops. There are over 400 offers listed on my Codes, Coupons and Discounts Pinterest board, and I am (slowly) working on updating this post to reflect the cream of the crop! CASHBACK, SURVEYS, REWARDS & DEALS 20 Cogs . Get £20 when your friend completes 20 cogs (i.e. offers), and 5% of their earnings for life. You also need to complete 20 offers yourself before you can cash out. Airtime Rewards . Get up to £1.50 bonus credit for each person who signs up with your referral code. Mine is 9CKQXLH8. Cashback Earners . Earn 5.00 CashCoins and 10% of their earnings from purchases. 20 CashCoins minimum payout. Cashback Kingdom . Both get a bon

British Food

A/N: On a previous blog wrote a whole series of posts on British life, explained for American fiction writers. This week I'm reposting the entry explaining British cuisine... Britain is world renowned for its stodgy, uninspiring cuisine. (Which should explain the deep suspicion Britons have of most foreign cuisine, unless it's been suitably adapted for the British palette.) BBC sitcom Goodness Gracious Me explains it best via the 'going for an English' sketch - a play on the popular British past time of 'going for an Indian (i.e. curry)'. " What's the blandest thing on the menu? " asks one character, later encouraging another, " Just have something a little bland, huh? Waiter, what have you got that is not totally tasteless? " Because, the truth is that traditional British fare is far from a taste sensation for those who haven't been raised on the stuff. Still, read on, and you can judge for yourself... Breakfast  The be

Free Magazine Scans

Click the pictures below to find full cover guides to various teen magazines (primarily collated to make scale miniature magazine covers but I figure they'll also be useful for collectors and anyone into media history) and scans from my own magazine collection. I've also got a couple of kids' books I didn't want to part with - The Squirrel and Little Owl Book of Pets . The unwieldy size of my bookmark folders convinced me I needed a reference post for online magazine archives. Or, more accurately, free online magazine archives. Whether you're looking for leisure reading or research avenues, you're bound to find something useful in this list. :) ☆ Archive for the Unexplained - UFO mags galore. ☆   The Magazine Rack - over 140,000 digitised magazines! ☆   Lantern - thousands of vintage film magazines. ☆ FANZINES  - a number of online archives now exist for these including  FANAC  (SF), ScoTpress  (Trek), Sandy Herald Collection  (media fandom, major

Simply Cook Review

I kept seeing ads and deals for Simply Cook everywhere, so as there was a special offer on at OhMyDosh! Rewards (£3 for the box and £3.50 cashback) I figured I had nothing to lose by giving it a try. What Is It? Recipe kits packed into boxes which fit through your letterbox. The usual price is £9.99 for a kit of 4, with each one serving 2-4 people depending on your serving sizes. All you need to do is buy the fresh ingredients required and follow the instructions. Here is Simply Cook's own helpful diagram: Does It Work? For me, as the person just eating it, it was awesome. Everything tasted great - the mushroom penne in particular was so good I went back for seconds - and I liked that the sauces weren't as rich as Anthony would usually make them. For Anthony, who cooked them, they weren't as impressive. He complained that the food was bland and that it was actually quite a lot of faff, as Lidl didn't stock everything we needed which meant another trip ou

Free Fabric Samples x 200

Choosing upholstery and soft furnishings can be a nightmare - especially if it arrives and isn't quite what you expected. Fabric samples are a great way to avoid costly mistakes, as well as providing a fab source of material for your crafts box. Here are over 200 places offering completely free fabric samples in the UK: