Email marketing with customer feedback!
Email marketing to our opt in email list makes you a winner!  HTMail - Opt in list email marketing
An Introduction to HTML emails

Outlook Express Screen We often receive queries from customers on how to create an HTML email. It can be a demanding task if you have no experience of writing HTML scripts - but it is also fairly easy to add simple features to your email with the use of HTML. This article is intended as a quick introduction to using the simplest features of HTML to enhance your email ad.

The first thing to consider before writing your HTML message is do you need to? Lots of anti-spam software treats HTML as questionable, even Outlook express lets you prevent the downloading of pictures in HTML emails - so do you need to use it? If your conclusion is yes, then read on!

HTML gives but it also takes away. HTML ignores all carriage return / line feeds, and reduces all spaces between words to just one space - so if you were to save the text in (i) below as an HTML email it would display as in (ii).

Example (i)

This is the headline of my ad.

This is the first paragraph of my ad.

This is the second paragraph of my ad
that goes onto a second line.

This is my link:    http://www.mylink.com

Example (ii)

This is the headline of my ad. This is the first paragraph of my ad. This is the second paragraph of my ad that goes onto a second line. This is my link: http://www.mylink.com

The way that we both overcome this and add additional features to our HTML script is with the use of tags. A tag is a command contained within < and > symbols.

So to correct the loss of carriage return / line feed characters and put our paragraphs back we use the paragraph tag <P>.

Now if we change our text to that shown in Example (iii) it will display as in Example (iv).

Example (iii)

This is the headline of my ad.
<P>
This is the first paragraph of my ad.
<P>
This is the second paragraph of my ad
that goes onto a second line.
<P>
This is my link: http://www.mylink.com

Example (iv)

This is the headline of my ad.

This is the first paragraph of my ad.

This is the second paragraph of my ad that goes onto a second line.

This is my link: http://www.mylink.com

We are still missing two features from our original text - we don't have a line break after the 'my ad' in the second paragraph - and we are missing the spaces before the link. The first is cured easily with the 'break' tag <BR>. The second requires us to introduce a new command - this command is used for special characters and always starts with an ampersand & and ends with a semi colon ; - in this case we need the special character of a 'non breaking space' which is achieved by using the special character &nbsp; - So if we now include these characters in our text which now looks like Example (v) then it will display as in Example (vi) - We are now nearly back where we started!

Example (v)

This is the headline of my ad.
<P>
This is the first paragraph of my ad.
<P>
This is the second paragraph of my ad<BR>
that goes onto a second line.
<P>
This is my link:&nbsp;&nbsp;&nbsp;&nbsp;http://www.mylink.com

Example (vi)

This is the headline of my ad.

This is the first paragraph of my ad.

This is the second paragraph of my ad
that goes onto a second line.

This is my link:    http://www.mylink.com

The next thing to fix before we start improving the ad is the link. Most email software like Outlook Express will display a link such as http://www.mylink.com in a plain text ad as clickable - i.e. you can just click on the link to go to the site. However, when the email software receives an HTML email, it does not automatically make this change. Because HTML has a tag that describes a link, the email software will only show links that use that tag. So we now need to make our link clickable. Example (vii) shows the command for this and (viii) shows how it looks - we will discuss the format after you have had a look at it.

Example (vii)

This is the headline of my ad.
<P>
This is the first paragraph of my ad.
<P>
This is the second paragraph of my ad<BR>
that goes onto a second line.
<P>
This is my link:&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="http://www.mylink.com">http://www.mylink.com</A>

Example (viii)

This is the headline of my ad.

This is the first paragraph of my ad.

This is the second paragraph of my ad
that goes onto a second line.

This is my link:    http://www.mylink.com

This is where things have got a little more complex! Firstly the <A> tag includes an additional piece of information within the brackets - the HREF command within the tag provides the actual address of the link. We also now have a closing tag </A>. This is a closing tag that ends the effect of an opening tag. These are unecessary for Paragraph and break tags - but essential for most others.

The <A> tag and the </A> enclose the text that will be highlighted as a link in the document. In this case we have left the text the same as the link - but this gives us our first opportunity to improve on the original. Let's change the text!

Example (ix)

This is the headline of my ad.
<P>
This is the first paragraph of my ad.
<P>
This is the second paragraph of my ad<BR>
that goes onto a second line.
<P>
This is my link:&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="http://www.mylink.com">Just click here!</A>

Example (x)

This is the headline of my ad.

This is the first paragraph of my ad.

This is the second paragraph of my ad
that goes onto a second line.

This is my link:    Just click here!

OK, now we can start to get clever! Here are a few of the tags you can use to improve your ad:

<B> For bold text
<I> For italic text
<U> For underlined text

Each one of these requires an ending tag of the same type - so <B> leaves text bold until it encounters a </B> tag.Let's try them on our text.

Example (xi)

<B><U>This is the headline of my ad.</U></B>
<P>
This is the first paragraph of my ad.
<P>
This is the second paragraph of my ad<BR>
<I>that goes onto a second line.</I>
<P>
This is my link:&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="http://www.mylink.com">Just click here!</A>

Example (xii)

This is the headline of my ad.

This is the first paragraph of my ad.

This is the second paragraph of my ad
that goes onto a second line.

This is my link:    Just click here!

The final command I want to introduce for improving the look of your ad is the <FONT> command. This command allows you to change the color and size of your font. Great eh?

The colors available include Blue, Red, Green, Navy, White, Magenta, Light Blue, Yellow, Purple, Brown and Gray. To use the command: <FONT COLOR="blue">Blue text!</FONT>. Note that COLOR must be spelled as the US version.

The size command is also included within the Font tag. The easiest way is to increase the size of the text or decrease it using +1, +2 etc or -1, -2 etc. So we can use <FONT COLOR="blue" SIZE="+2">Big Blue text!</FONT>

Let's put it in our text...

Example (xiii)

<B><U><FONT COLOR="red" SIZE="+1">This is the headline of my ad.</FONT></U></B>
<P>
This is the first paragraph of my ad.
<P>
This is the second paragraph of my ad<BR>
<I>that goes onto a second line.</I>
<P>
This is my link:&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="http://www.mylink.com">Just click here!</A>

Example (xiv)

This is the headline of my ad.

This is the first paragraph of my ad.

This is the second paragraph of my ad
that goes onto a second line.

This is my link:    Just click here!

What do you think?

One last thing to do. To ensure compatability with different email software and browsers, you should include start and end tags for the whole document and the body of the document. They will not appear to do anything in a lot of browsers and email programs, but in others they will make the difference between these commands working or not. They are included in our final example below:

Example (xv)

<HTML>
<BODY>
<B><U><FONT COLOR="red" SIZE="+1">This is the headline of my ad.</FONT></U></B>
<P>
This is the first paragraph of my ad.
<P>
This is the second paragraph of my ad<BR>
<I>that goes onto a second line.</I>
<P>
This is my link:&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="http://www.mylink.com">Just click here!</A>
</BODY>
</HTML>

In a future article we will introduce some further commands for enhancing your email - but for now just ENJOY!

Dave Broadway
November 2004

Copyright (c) HTMail Ltd 2004 http://www.htmail.com all rights reserved. You may freely distribute or publish this article provided you publish the whole article and include this copyright notice and links in full.

 

Get great emails
Join our list!
  • See the latest developments and offers on the Internet
  • Let the advertiser know what you think with our unique feedback system
  • Make your opinion count on important surveys
  • ...and get paid for having fun!
"I like it that most of the ads you send are for stuff that I've only recently heard about, or are totally new to me." - Lim Fah

To find out more, and join our list just click here!


Join our email list!
Email  
(Fast track sign up)

Confirmed opt-in
prevents spam!

If you join our list by completing our sign up form you will be sent an email to the address that you have registered confirming your joining. You need to follow the instructions in that email or you WILL NOT be added to our list.

This mechanism makes sure that nobody can be signed up for our list by someone else!

...and, of course, we do not email anyone who has not gone through that sign up process.

  • Our list is confirmed opt-in
  • We don't 'buy in' lists
  • We don't mail other people's lists
  • We remove you straight away when you no longer want to receive emails
  • We do not pass your details on to anyone else!

Copyright © Amber Devon Limited 1997-2008

Amber Devon Limited, Units G & H, Heltor Business Park, Old Newton Road, Bovey Tracey, Devon, TQ12 6RN, United Kingdom
Tel: (44) 01626 836682 Fax: (44) 01626 836668
VAT Registration Number 844 5791 93
Company registered in England number 05134979

This website uses Google Analytics, a web analytics service provided by Google, Inc. ('Google').  Google Analytics uses 'cookies', which are text files placed on your computer, to help the website analyze how users use the site. The information generated by the cookie about your use of the website (including your IP address) will be transmitted to and stored by Google on servers in the United States . Google will use this information for the purpose of evaluating your use of the website, compiling reports on website activity for website operators and providing other services relating to website activity and internet usage.  Google may also transfer this information to third parties where required to do so by law, or where such third parties process the information on Google's behalf. Google will not associate your IP address with any other data held by Google.  You may refuse the use of cookies by selecting the appropriate settings on your browser, however please note that if you do this you may not be able to use the full functionality of this website.  By using this website, you consent to the processing of data about you by Google in the manner and for the purposes set out above.