Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Linking to a mail System in HTML
WhatsApp
Ankur Mishra
5y
16.7
k
0
0
25
Blog
Linking to a mail System in HTML
A mail System allows us to send and receive any number of e-mails. You can use the
href
attribute pf the A elementto set the Email address of a recipient, such as:
mailto:
[email protected]
Let's create a web page named
"mail.html"
HTML file to understand this:
In this code, we have created a hyperlink, by clicking on which we can go to the reference of local mail system using mailto keyword:
When we click on Email me hyperlink, we will be directed to the reference mail message window:
This mail message window shown above allows us to send a mail to the named recipient that we have mentioned in the code.
Note
Here if we want to add CC, BCC, Subject and Body of the email the Let's try this Code :
Here we have specified the values of
Cc
-
[email protected]
Bcc-
[email protected]
Subject
- C# Corner Event
Body
-
Hi,
C# Corner Delhi Chapter Meet was on 20 July 2013.
Thanks and Regards
Now when we click on ‘Mail me' hyperlink oh mail2.html then Output will be:
Linking to a mail System in HTML
Up Next
How to Create A Table and Link in a Web Page using HTML
Ebook Download
View all
Frontend Developer Interview Questions and Answers
Read by 940 people
Download Now!
Learn
View all
Foreantech
Foreantech - A complete online solution company.
Membership not found