Question:

How can we create a hyperlink that directly opens the user's email client to send an email to "info@school.com"? Write the syntax.

Show Hint

What word must come before the email address in the href value?
Updated On: Nov 3, 2026
Show Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Step 1: Understanding the Question:
We need a link that, when clicked, opens the email program with the address already filled in.

Step 2: Key idea:
A link is made with the anchor tag <a> and its href attribute. If we write mailto: followed by the email address inside href, the browser opens the default email client.

Step 3: Write the syntax:
<a href="mailto:info@school.com">Contact Us</a>


Step 4: What happens on click:
The email program opens and the To field has info@school.com. The text Contact Us is what the user sees and clicks.

Final Answer:
Use the mailto scheme in the href attribute of an anchor tag. \[ \boxed{\text{href = mailto:info@school.com}} \]
Was this answer helpful?
0
0

Top CBSE X Questions

View More Questions