Creating an email link

When a person clicks on an email link, the person can send email to the specified email address in the HREF property. Note simply clicking on an email link does not send the email; it rather copies the recipient's email address into the user's default email editor program, if any, for user's convenience. To create an email link, we use the <a> tag with the HREF property set to the desired email address. For instance,

<a href="mailto:info@scriptingmaster.com">info@scriptingmaster.com</a>

creates an email link with the destination email address as info@scriptingmaster.com. Notice because this is an email address, we specified "mailto:" before the email address. The link text for this link is simply the same as the email address. Output: info@scriptingmaster.com.