0
How should i link mail in html.
How should i link email
5 Respuestas
+ 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>
+ 1
href="mailto:example@mail.com"
+ 1
try yourself
0
it mean anyone on clicking in this link it would can reply to my mail
0
Gusto po akong maka change answer patoro nmn po mga mam and sir plesss?