CBSE Class 10 Computer Applications Question 44 of 125

HTML II — Images, Links and Tables — Question 35

Back to all questions
35
Question

Question 35

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>
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.