Horje
How to use Link to an Email Address

Use mailto: inside the href attribute to create a link that opens the user's email program (to let them send a new email):


Full Example of Link to an Email Address

To create a link that opens in the user's email program (to let them send a new email), use mailto: inside the href attribute:
index.html
Example: HTML

<!DOCTYPE html>
<html>
<body>
<h2>Link to an Email Address</h2>
<p>To create a link that opens in the user's email program (to let them send a new email), use mailto: inside the href attribute:</p>
<p><a href="mailto:[email protected]">Send email</a></p>
</body>
</html>

Output should be:

Full Example of Link to an Email Address





Related Articles
HTML Links HTML Links
How to create HTML Links - Syntax HTML Links
How to create HTML Links The target Attribute HTML Links
Absolute URLs vs. Relative URLs HTML Links
How to use an Image as a Link HTML Links
How to use Link to an Email Address HTML Links
How to create Button as a Link HTML Links
How to use a title in Link HTML Links

Single Articles
Full Example of Link to an Email Address HTML Links

Category :
Web Tutorial
Sub Category :
HTML Links
Uploaded by :
Admin


Read Article
https://horje.com/learn/1434/reference