KnowledgeBoat Logo

Computer Applications

Choose the correct HTML code to create an email link ?

  1. <A HREF = "xx@yy.com"></A>
  2. <A HREF = "mailto:xx@yy.com"></A>
  3. <MAIL = "xx@yy.com"></MAIL>
  4. <A MAILHREF = "xx@yy.com"></A>

HTML Advanced Features

2 Likes

Answer

<A HREF = "mailto:xx@yy.com"></A>

Reason — In HTML, to create an email link, we need to use the mailto: protocol followed by the email address. This protocol tells the browser to open the default email client with a new message addressed to the specified email address.

Answered By

1 Like


Related Questions