Coding Hubs School of AI – Best AI & Full Stack Courses in Delhi NCR | 100% Placement
Get 50% OFF on AI & Full Stack Courses
📞 Call Now: +91 8448811320
Back to HTML Notes
Topic #308

Telephone Links

A telephone link uses the tel: URL scheme to let a visitor start a phone call directly from a web page — most useful, and most used, on mobile devices.

Syntax

<a href="tel:+911234567890">Call us</a>

Basic Example

<p>Call our admissions desk: <a href="tel:+911234567890">+91 12345 67890</a></p>

Browser output: a normal-looking link; on a phone, tapping it opens the dialer pre-filled with the number, ready to call with one more tap.

How It Works

The browser hands the tel: value to the device's phone/dialer application. On a desktop without calling capability, it may prompt to open a linked app (like Skype) or simply do nothing, depending on what's installed.

Important Attributes / Format Notes

DetailRecommendation
Country codeInclude it with a leading + (e.g. +91...) so the link works correctly for visitors outside your country too
Formatting charactersSpaces and hyphens are generally tolerated by most devices, but the safest, most portable format keeps just digits and a leading +

Real-World Example

<footer>
    <p>Call us: <a href="tel:+911234567890">+91 12345 67890</a></p>
</footer>

A footer contact line — exactly where mobile visitors expect a tap-to-call number on a business or course-provider site.

Common Mistakes

  • Omitting the country code, which makes the link unreliable for visitors dialing from outside the country of origin
  • Displaying a phone number as plain, unlinked text on a mobile-friendly site, missing an easy tap-to-call opportunity

Best Practices

  • Always include the country code with a leading +
  • Pair the visible, human-readable number format with a clean tel: href underneath

Accessibility Considerations

Telephone links are a genuine accessibility win — they let users with motor impairments or those using switch-access devices place a call without manually typing a number, and voice-control users can activate the link by its visible text.

SEO Considerations

No direct ranking effect, though a correctly formatted phone number can support local business structured data and "click to call" rich results in some contexts.

Browser & Modern HTML Notes

Behavior varies most by device type — reliable on virtually all smartphones, but inconsistent on desktop browsers without a calling app installed.

Mini Practice

  1. Build a tap-to-call link with a correctly formatted country code.
  2. Add both a visible, human-readable phone number and a clean tel: href to a sample footer.

Related HTML Notes

Want to go beyond the notes?

Join Coding Hubs School of AI's HTML course — live mentorship, real projects, and 100% placement support.

Enroll Now — Free Demo Available
Talk to Advisor Online now
1

Latest from Our Blog

Insights on AI, Data Science, Full Stack & Career

View All Articles →