Checkmark

Thank you for your feedback

Add links for visitors to send emails

Learn the HTML code used to create a link for visitors or customers to contact you by email on your site.

Article ID: SLN20476

Want to make it easy for your site's visitors to get in contact with you? Just add a mailto link to your site using the code below!

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


Once added, this code will display a link on your site with the words Email Me!.

When your visitor clicks the link, their default email program will open a new message with your email address in the To: field.

Important: Your Email Me! link will only work for visitors that have a default email program set up for sending an email (like Microsoft Outlook or Mozilla Thunderbird). Please consult your browser's Help files for instructions.

Note: If you prefer, you can set up an email contact form instead of an email link. Follow the steps below for: