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
What is HTML Links HTML Links
How to create HTML Links - Syntax HTML Links
How to create HTML Links The target Attribute HTML Links
What is 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 AddressHTML Links

Read Full:
HTML Links
Category:
Web Tutorial
Sub Category:
HTML Links
Uploaded by:
Admin
Views:
88


Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_links_email