No announcement
 

Email Link

Email links allow users to initiate an email composition when clicked. The mailto: protocol is used in the href attribute of the <a> tag to specify an email address.

Example:

emaillink.html

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Email Link Example</title>
</head>
<body>
    <a href="mailto:info@example.com">Send email</a>
</body>
</html>


Output

In this example, the text "Send email" is wrapped in an <a> tag with the href attribute set to mailto:info@example.com. When the link is clicked, it will open the user's default email client with a new email composition window, pre-populated with the recipient's email address.