Special Links in HTML

Special Links in HTML

1. Email

Basic

Example: Email Us

<a href="mailto:someone@yoursite.com>Email Us</a>

Adding a subject

Example: Email Us

<a href="mailto:someone@yoursite.com?subject=Mail from Our Site">Email Us</a> 

Adding CC and BCC

Example: Email Us

<a href="mailto:someone@yoursite.com?cc=someoneelse@theirsite.com, another@thatsite.com, me@mysite.com&bcc=lastperson@theirsite.com&subject=Big%20News">Email Us</a>

Add body text

Email Us

<a href="mailto:someone@yoursite.com?cc=someoneelse@theirsite.com, another@thatsite.com, me@mysite.com&bcc=lastperson@theirsite.com&subject=Big%20News&body=Body-goes-here">Email Us</a>

2. Phone Call

Example: 1-416-555-5555

<a href="tel:1-416-555-5555">1-416-555-5555</a>

3. Text Message

Format: sms:<phone_number>[,<phone_number>]*[?body=<message_body>]
Example: New SMS Message

<a href="sms:1-416-555-1212">New SMS Message</a>

135 total views, 3 views today

Author: Albert

Leave a Reply