How should i link mail in html. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How should i link mail in html.

How should i link email

14th Mar 2017, 8:01 PM
Md Wasim Ali Ansari
Md Wasim Ali Ansari - avatar
5 Answers
+ 5
the email link in html uses the 'mailto' in the address, ie <a href="mailto:someone@example.com?Subject=Hello%20World">E-Mail Me</a> in the above example: mailto: //lets the browser know it is an email link someone@example.com //is the e-mail address ? //specifies the start of tags Subject= //adds a Default Subject to the link Hello%20World // is the Subject line, note %20 is interpreted as a space in html the the text between the ></a> is the text that will be displayed, in our case 'E-Mail Me' note that you can also add other tags such as cc and bcc to populate the cc or bcc address fields, these must be added with the &. you can add as many as you like but only one Subject line. An '&body=' at the end specifies the Message body: try this in the code space: <p> This is mailto link with subject, cc, bcc and a message body: <a href="mailto:someone@example.com?cc=someoneelse@example.com&bcc=andsomeoneelse2@example.com&subject=Hello%20World&body=You%20just%20created%20an%20email%20link%20with%20Subject,%20cc,%20,bcc%20and%20a%20body%20Message">Email Me</a> </p>
14th Mar 2017, 8:28 PM
Elric Hindy
Elric Hindy - avatar
+ 1
href="mailto:example@mail.com"
14th Mar 2017, 8:11 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 1
try yourself
14th Mar 2017, 8:15 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
it mean anyone on clicking in this link it would can reply to my mail
14th Mar 2017, 8:14 PM
Md Wasim Ali Ansari
Md Wasim Ali Ansari - avatar
0
Gusto po akong maka change answer patoro nmn po mga mam and sir plesss?
8th Jan 2021, 3:36 PM
kevin echavez
kevin echavez - avatar