DEV Community

Yusuf
Yusuf

Posted on

Initiate a phone call and SMS with HTML

A simple one line code to initiate a phone call goes thus:

<a href = "tel:1-234-567-8901"> 1-234-567-8901</a>

to initiate sms:
<a href = "sms:1-234-567-8901"> SMS Message</a>

Top comments (0)