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

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

50 Free Welsh Language Resources

Unlike literacy and maths, Welsh really isn't a subject we'll be using everyday without a concerted effort to do so. Every morning we've been doing three Duolingo lessons with Marianna - challenging for me and repetition of basic words and concepts for her - and then watching a couple of Welsh language cartoons to listen to the rhythm of the words and so on. Here is a list of free Welsh language resources from around the web, ranging from GCSE revision guides to adult basics to children's cartoons uploaded to YouTube. Hopefully you'll be able to mix and match to suit your own needs over the next few weeks and months. (I'd normally direct people to places like Sain Wales to buy hard copy media, but they're closed for the duration and we should try to lighten the load on the postal service to essentials besides.) Apps . Handy rundown of Welsh language kids' apps from Montgomery Church in Wales School. Atebol . Welsh language story time on Yo

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:

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

Welsh UFO Sightings 2016

Welsh UFO sightings from 2016. For sightings from other years please click HERE . UK UFO Sunday 3rd January, 01:25 Gwent Witness saw a 'typical space ship' through their bedroom window. It had blue and red lights, and appeared to be moving towards them. They watched for a few minutes and the next day reported the sighting to UK UFO. FM: " I was up really late and i needed to use the bathroom so i got up and my side of the bed is by the window, so i had a look out. i saw an object shaped like a typical space ship would look, but it had blue and red lights and appeared to be coming towards me. i watched it for a while and then left to use the bathroom and by the time i had returned (5 minutes later) the mysterious lights had almost disappeared into the distance. " SUFON Tuesday 5th January, 09:20 Bevan Close, Waunarlwydd, Swansea  Broken cloud. Brian Harry was at home in Bevan Close, Waunarlwydd and had just let his dog out the back