html telephone number code example

Example 1: html telephone link

One click should open the phone dialler and input the number to be called.
<a href="tel:5551234567">Call (555)123-4567</a>

Example 2: html make phone number callable

Area code with dashes, 1 and + sign

<a href="tel:+1-555-555-1212">555-555-1212</a>
Area code with no dashes, 1 and + sign

<a href="tel:+15555551212">555-555-1212</a>

Example 3: html telephone link

<a href="tel:1234657890">Call (123)456-7890</a>

Example 4: html telephone link

<!-- To create a link to a telephone number, use tel: inside the href 
attribute -->
<a href="tel:+880123456789"> Call: 0123456789 </a>

Example 5: phone number button on website

<a href="tel:5554280940">Call us at 555-428-0940</a>

Example 6: html telephone

<a href="tel:0123456789">Click to call</a>
<!-- Adds country code with + -->
<a href="tel:+0123456789">Click to call</a> 
<!-- Adds a 1 second pause (p) then dial 123 after phone number -->
<a href="tel:0123456789p123">Click to call</a>

Tags:

Html Example