Answer: The <a> anchor tag with href with the value as specifed is used to link to a mail message only if the mail is installed in the machine.
Spaces between words for the subject should be replaced by %20 to ensure that the browser will display the text properly
Example:
<html>
<body>
<p>
<a href="mailto:someone@dotnetfunda.com?Subject=Test%20mail">
Send Mail</a>
</p>
</body>
</html>
Asked In: Many Interviews |
Alert Moderator