Write an HTML code to show the use of mailto function.
Answers
Answered by
10
<html>
<head>
<title>Ayush</title>
</head>
<body>
<a href = "mailto: your email @email.com">Send Email</a>
</body>
</html>
Thanks for asking
Attachments:
Answered by
4
Below are the code which holds the mailto function:
Explanation:
<HTML> <! ––HTML open tag ––>
<HEAD> <! –– HEAD open tag ––>
<TITLE> <! –– TITLE open tag ––>
USE OF MAILTO FUNCTION <! –– Title for the web page ––>
</TITLE> <! –– TITLE close tag ––>
</HEAD> <! –– HEAD close tag ––>
<BODY> <! ––BODY open tag–>
click the link to send the mail <a href="mailto: [email protected]" target="_top"> Link</a> <! –– a hyperlink with use of mailto ––>
</BODY> <! –– BODY close tag ––>
</HTML><! –– HTML close tag ––>
Output:
- The above code will open software of mail to send the mail if the software is installed and mail had login.
Explanation of mailto:
- The mailto is a function, which is used in HTML to send the mail. It is a function that takes the mail id to send the mail.
- If any user wants to write a program to send the mail then he needs to write some logic with this function.
Learn More:
- HTML : https://brainly.in/question/4924558
Similar questions
Physics,
5 months ago
Hindi,
5 months ago
English,
5 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Business Studies,
1 year ago