html make phone number callable
snippet in html

html make phone number callable

user1186

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>

html phone number

user9261


  <label for="phone">Enter your phone number:</label>
<input type="tel" 
  id="phone" name="phone" 
  pattern="[0-9]{3}-[0-9]{2}-[0-9]{3}">