Sometimes, we want to add WhatsApp function to website, like sms, tel with HTML.
In this article, we’ll look at how to add WhatsApp function to website, like sms, tel with HTML.
How to add WhatsApp function to website, like sms, tel with HTML?
To add WhatsApp function to website, like sms, tel with HTML, we add a URL for the link.
For instance, we write
<a href="https://wa.me/1234567890/?text=urlencodedtext"></a>
to set the URL for the WhatsApp link.
1234567890 is the app phone number.
And the text
query parameter has the text we want to send to the number.
Conclusion
To add WhatsApp function to website, like sms, tel with HTML, we add a URL for the link.