0
0
HTMLmarkup~5 mins

Email and phone links in HTML - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of using mailto: in an HTML link?
The mailto: scheme creates a link that opens the user's default email program to send an email to the specified address.
Click to reveal answer
beginner
How do you create a clickable phone number link in HTML?
Use the tel: scheme in an anchor tag's href attribute, like <a href="tel:+1234567890">Call us</a>, which allows users to tap and call on supported devices.
Click to reveal answer
intermediate
Why should you include the full international phone number format in tel: links?
Including the full international format (with + and country code) ensures the phone number works correctly for users in different countries and devices.
Click to reveal answer
beginner
What accessibility tip should you follow when creating email or phone links?
Use clear link text that describes the action, like 'Email support' or 'Call customer service', so screen readers and all users understand the link purpose.
Click to reveal answer
intermediate
Can you use mailto: links to add a subject or body text to the email? How?
Yes, by adding query parameters like ?subject=Hello&body=Message after the email address, for example: mailto:example@example.com?subject=Hello&body=Message.
Click to reveal answer
Which HTML attribute value creates a link that opens the email client?
Amailto:someone@example.com
Btel:1234567890
Chttp://example.com
Demail:someone@example.com
What does tel:+1234567890 do in an anchor tag?
AOpens a website
BSends an email to the number
CStarts a phone call to the number on supported devices
DDoes nothing
How can you add a subject line to an email link?
Atel:email@example.com?subject=Hello
Bmailto:email@example.com#subject=Hello
Cemail:email@example.com?subject=Hello
Dmailto:email@example.com?subject=Hello
Why is it important to use descriptive text for email and phone links?
ATo help screen reader users understand the link's purpose
BTo make the link look colorful
CTo increase the font size automatically
DTo disable the link on mobile devices
Which is the correct way to write a phone link for the number +1 234 567 8900?
A<a href="tel:123-456-78900">Call us</a>
B<a href="tel:+12345678900">Call us</a>
C<a href="phone:+12345678900">Call us</a>
D<a href="call:+12345678900">Call us</a>
Explain how to create an email link in HTML that opens the user's email program with a preset subject.
Think about how to add extra info after the email address in the link.
You got /4 concepts.
    Describe best practices for making phone number links accessible and internationally usable.
    Consider both technical format and user experience.
    You got /4 concepts.