If you want to add more control and customisation over the mailto
HTML href link, you can add subject and body text.
Here’s an example:
<a href="mailto:contact@codechewing.com?subject=Website Enquiry&body=Hello!"> Email Us </a>
You can also add new lines to the body text with %0A
. Like so:
<a href="mailto:contact@codechewing.com?subject=Website Enquiry&body=Hello!%0AI'm on a new line!"> Email Us </a>