www.pickatutorial.com Computer Tutorials
Top eBooks: C/C++ | C# | Android | Mathematics | Database | Cloud | Graphics | Networking | Oracle | Hardware | AI
Top Tutorials: C/C++ | C#.NET | PHP MySQL | Java | Java Script | jQuery | HTML | xHTML | HTML5 | VB Script| CSS
Lessons Email Links Bookmark and Share
Tutorial Home
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Lesson 9
Lesson 10
Lesson 11
Lesson 12
Lesson 13
Lesson 14
Lesson 15
Lesson 16
Lesson 17
Lesson 18
Lesson 19
Lesson 20
Lesson 21
Lesson 22
Lesson 23
Lesson 24
Lesson 25
Lesson 26
Lesson 27
Lesson 28
Lesson 29
Lesson 30
Lesson 31
Lesson 32
Lesson 33
Lesson 34
Lesson 35
Lesson 36
By now you have already learned how to add simple text and image links to your html web pages. In this lesson we will learn how to add email links to our html web pages.

Email links are not different from the normal hyper links. We use the same anchor <a> tag for the email links too. The only difference is the value of the href attribute. Instead of assigning it a web address, we assign it with an email address by prefixing mailto:. As is given below:

<a href="mailto:farooq_fl@yahoo.com">Email Me!!!</a>

The result will be:

Email Me!!!

When you click on the above link, your default email program will open for you to send ma an email, with my email address already filled in the to field.

We can specify the subject of the message inside the anchor tag, as under:

<a href="mailto:farooq_fl@yahoo.com?subject=subject line">
Email Me!!!</a>

We can also add cc recipients and / or bcc recipients' email addresses.

<a href="mailto:farooq_fl@yahoo.com?cc=myfriend@domainname.com">
Email Me!!!</a>

<a href="mailto:farooq_fl@yahoo.com?bcc=myfriend@domainname.com">
Email Me!!!</a>

We can combine the subject, cc and bcc options together by using an & sign at the end of each option, except for the last option.

<a href="mailto:farooq_fl@yahoo.com?
subject=subject line&bcc=myfriend@domainname.com&cc
=myotherfriend@domainname.com">Email Me!!!</a>

Next >>> Lesson No. 26: Simple Text Animation





Home - Advertise - Contact - Disclaimer - About Us
© Since 2006 pickatutorial.com -- All Rights Reserved.