phone number in html code example

Example 1: html link to call phone number

<a href="tel:+44-785-7895">+44-785-7895</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 phone

<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>

Example 4: phone number button on website

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

Example 5: phone html

<a href="tel:1234567">Call 123-4567</a>

Example 6: phone html

<a href="tel:5551234567"><img src="callme.jpg" /></a>

Tags:

Html Example