Saturday 26 February 2022

HTML document for Email Hyperlink using anchor tag

 EMAIL HYPERLINK 

Code :

<!doctype html>

<html>

    <head>

       <title>Creating Email hyperlink</title>

    </head>

    <body>

       <h1>HTML Email Tag (mailto: ) :</h1>

       <p>

       HTML &#60a&#62 tag provides you option to specify an email address to send an email. While using &#60a&#62 tag as an email tag, you will use <b>malto: email addresss</b> along with <i>href</i> attribute. Following is the syntax of using <b>mailto</b> instead of using http.

       </p>

       <p><b>Syntax :</b><br><br>

         &#60a href = &#34mailto: abc@example.com&#34 &#62Send Email&#60/a&#62 

       </p>

       <p>

        Now, if a user clicks this link, it launches one Email Client (like Lotus Notes, Outlook Express etc.) installed on your user's computer then it would not be possible to send email.

       </p>

       

       <p><b>Example :</b></p>

       <p>click below link to send mail,<br>

       <a href="mailto: kraftontony@gmail.com"><tt>" Write Mail To Me!</tt></a> 

    </body>

</html>

Web View :

Come again Learn again !

< iCodeBuzz />


No comments:

Post a Comment