phone in html code example

Example 1: 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 2: html telephone link

<a href="tel:1234657890">Call (123)456-7890</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: html telephone

<a href="tel:0612345678">Call me!</a>

Example 5: html phone link

<!-- Brazilian pattern -->
<a href="tel:6533125487">(65) 3312-5487</a>

Example 6: phone html

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

Tags:

Html Example