1 <!-- html form tag -->
2 <form>
3 <label>Phone Number Format ((7|8|9)xxxxxxxx)</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="[789][0-9]{9}"
9 required="required"
10 />
11
12 <!-- html input type=submit for submit a form -->
13 <input type="submit" />
14
15 </form>