Easily make a phone call Using HTML5
Google says, HTML is a programming language and this is jock of the year among the developers on social media.
They create memes, jocks and insulting others for this statement.
But we don't care for that. We should realize that #HTML is very powerful. Much powerful than we thought. This was really surprising for me that we don't need any other programming language for adding PHONE CALL BUTTON to our webpage but could do easily with HTML only. And another amazing thing to know was that we don't need any bunch of lines of code but just one line of HTML. Isn't it amazing for you?
Let's see
How to Make a Link Callable using HTML?
Create a Link first with an anchor
tag and write Call Now inside the tag.
<a href="">Call Now</a>
This is the basic syntax for Link.
Now for adding phone number, use the 'tel' keyword and colon :
sign to define its value which is Phone Number 🤳.
But Remember!
Always write the country code for Phone Number.
<a href="tel:+138288">Call Now</a>
In the upper link, +1 is country code and 38288 is Phone Number.
This simple line of #HTML will Make a call.
Here is a short Tutorial where you can watch in less than one minute.