number <a href="tel:123-456-7890">123-456-7890</a>
1. This line of code creates an HTML anchor element with a hyperlink to a telephone number.
2. The “tel:” portion of the code indicates that the link is for a telephone number.
3. The “123-456-7890” portion of the code is the actual telephone number that will be dialed when clicked on or tapped.
4. The text between the opening and closing anchor tags, “123-456-7890”, is what will be displayed as a clickable link on the webpage for users to click or tap on to initiate a call to the specified phone number.
Telephone links in HTML are used to link to a telephone number. The syntax for creating a telephone link is text, where “number” is the telephone number you want to link to and “text” is the text you want to display on the page. For example, Call us now! will create a link that says “Call us now!” and when clicked, will open up the user’s phone app with the number 1234567890 already entered.
How to make phone call HTML
Making a phone call in HTML is quite simple. All you need to do is add the following code to your HTML document:
Replace “1234567890” with the actual phone number you want to use. This code will create a link that, when clicked, will open up the user’s default dialer app and automatically dial the number specified.