HTML Link for Email Address

HTML Link can also be used to link an email address.

When a user clicks such a link, the user's default email program on the user's machine gets open to let the user draft an email with to address auto-populated with the email address specified in the link.

<a href="mailto:feedback@randomcodez.com">Send us an email</a>

Example

<!doctype html>
<html lang="en">
<head>
</head>
<body>
    <h1>HTML Link Email Address</h1>
    <a href="mailto:feedback@randomcodez.com">Send us an email</a>
</body>
</html>

Overall

Making a clickable link to send an email is so simple.

Related Articles