World Land Trust

Saving threatened habitats worldwide

You are here: World Land Trust  > Resources  >  Wildlife eCards: Free Animal & Nature eCards  > Adding HTML tags to your ecard message

In this section:

Help save wildlife habitats

Contact the WLT

+44 (0)1986 874422

Contact details »

Adding HTML tags to your ecard message 

With HTML tags you can personalise your ecard message even further. HTML stands for Hyper Text Markup Language, and as the name implies you can use HTML tags to mark up text in many different ways. If you enclose the word you would like to change with any of the following tags, you will get the result shown below the tags. For example, if you surround the word 'example' with the following tags: <strong> </strong>, the word will appear strongly emphasised like this: example.

This page will show you how to:

Or go to the ecard index.

Use headings 

<h1>example of h1 heading</h1>

example of h1 heading

<h2>example of h2 heading</h2>

example of h2 heading

<h3>example of h3 heading</h3>

example of h3 heading

Note that depending of the browsers you and the person receiving the card are using, some of these HTML tags may display differently from the examples above, or may have no effect at all.

Change Size 

<big>example of big text</big>

example of big text

<small>example of small text</small>

example of small text

Note that depending of the browsers you and the person receiving the card are using, some of these HTML tags may display differently from the examples above, or may have no effect at all.

Add emphasis 

<em>example of emphasised text</em>

example of emphasised text

<strong>example of strongly emphasised text</strong>

example of strongly emphasised text

Note that depending of the browsers you and the person receiving the card are using, some of these HTML tags may display differently from the examples above, or may have no effect at all.

Change colour 

<span style="color: red">example of red text</span>

example of red text

<span style="color: green">example of green text</span>

example of green text

Note that depending of the browsers you and the person receiving the card are using, some of these HTML tags may display differently from the examples above, or may have no effect at all.

Combine several HTML tags 

You can add several of these tags all at once, as long as you don't overlap one tag with another. The following is correct:

<span style="color: red"><big><em>Big red emphasised text</em></big></span>

Big red emphasised text

But the following could cause all sorts of strange problems, because the <span> tag is incorrectly closed before <big> tag instead of after :

<span style="color: red"><big><em>Big red emphasised text</em></span></big>

Add a link to a website 

To add a link, put the full web address inside an <a> tag, and any words you want to use for naming your link between the start and end tags, like this:

<a href="http://www.favouritewebsitehere.com">example of a link</a>

example of a link

(The link in the example above goes back to the top of this page)

Or go to the ecard index.
*

Sir David Attenborough, World Land Trust Patron

Patron's Message

Get email news updates

Registered charity no. 1001291

© Copyright World Land Trust 2010-2011