Languages
[Edit]
EN

HTML - how to make phone number clickable?

3 points
Created by:
JustMike
3482

In this article, we're going to have a look at how to create phone number link in pure HTML that opens call dialog after click operation.

Quick solition:

Use tel: prefix for your phone number link.

Practical exmaple:

// ONLINE-RUNNER:browser;

<!doctype>
<html>
<body>
  <a href="tel:+44 7755 443322">+44 7766 443322</a>
</body>
</html>

Preview:

Clickable phone number link in HTML - Google Chromium on Windows
Clickable phone number link in HTML - Google Chromium on Windows

 

Checkout latest findings & news:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Rockstar community members
Thank you for great work 👍