Page 143 - CA_165_V2.0_Flipbook
P. 143
The output of the preceding HTML code is as follows:
Click here to reach the
beginning of the page.
Mailto
Mailto is used to create a link that opens the e-mail compose box to write mails and send a new e-mail
message. While using <a> tag as an e-mail tag, a user can use mailto: e-mail address along with href
attribute. Syntax to use the Mailto:
<A HREF = “mailto:abc@example.com”>Send Email</A>
The words ‘Send E-mail’ appears as a link. When user clicks the link in the web browser, a ‘Compose’
window of e-mail is displayed. User must be logged in through any e-mail Id before using ‘Mailto’ link
otherwise it will display ‘Login’ page of e-mail.
The following HTML code uses the <A> tag with the mailto to create a link that opens the default email
client to send an email:
<HTML>
<HEAD>
<TITLE>
</TITLE>
<BODY>
<P>
This is an example of mailto link:
<A HREF = "mailto:books@micaeduco.com">
Send Feedback
</A>
</P>
</BODY>
</HTML>
More About HTML 141

