1 <!-- html form tag -->
2 <form>
3 <label>Phone Number Format (xxxxxxxxx)</label>
4 <!-- html input type=tel for phone number which contain a pattern -->
5 <input type="tel"
6 name="phone_number"
7 id="phone_number"
8 pattern="^\d{10}$"
9 required="required"
10 />
11
12 <!-- html input type=submit for submit a form -->
13 <input type="submit" />
14
15 </form>