HTML <a> tag grants you the opportunity to indicate an email address to send an email to. While using <a> tag as an email tag, you will use mailto: email address along with href attribute. Below is the syntax of using mailto.
<a href= "mailto: abc@example.com">Send Email</a>
This code will produce the following link which you can use to send email.
Send Email
Default Settings
You can indicate a default email subject and email body along with your email address.
<a href="mailto:abc@example.com?subject=Feedback&body=Message"> Send Email </a>
No comments:
Post a comment