using mailto in html

Below is the html code which shows the implementation of mailto in html

<!DOCTYPE html>
<html>
<body>

This is an email link:
<a href="mailto:test@domain.com?Subject=Hello%20World">
Send Mail</a>



Note: Spaces between words should be replaced by %20 to ensure that the browser will display the text properly.


</body>
</html>

No comments:

Post a Comment