Horje
How to use Link to an Email Address | HTML Links Code
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



Read Full::
HTML Links Code
Category:
HTML Code
Sub Category:
HTML Links Code
Uploaded:
7 months ago
Uploaded by:
Admin
Views:
4

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

Single Articles
Full Example of Link to an Email Address

Share on: