Answers for "html input tel"

1

how to validate mobile number in html form

<div>
  <label for="phone">Enter your phone number:</label>
<input type="tel" id="phone" name="phone"  pattern="+94[7-9]{2}-[0-9]{3}-[0-9]{4}" value="+94">
 </div>
Posted by: Guest on November-28-2020
0

input type tel in html

<form>
  <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}">
</form>
Posted by: Guest on July-13-2021
4

input type tel

<input type="tel"></input>
Posted by: Guest on February-12-2021

Browse Popular Code Answers by Language