Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

IT Specialist HTML5 Application Development INF-306 Question # 17 Topic 2 Discussion

IT Specialist HTML5 Application Development INF-306 Question # 17 Topic 2 Discussion

INF-306 Exam Topic 2 Question 17 Discussion:
Question #: 17
Topic #: 2

You are creating a form that asks a user to enter their phone number. The form must be submitted only if the phone number field is not empty and matches the format 111-444-7777. Which markup should you use?


A.

< input type= " tel " name= " phone " maxlength= " 12 " required >


B.

< input type= " tel " name= " phone " pattern= " [0-9]{3}[0-9] {3}[0-9]{4} " >


C.

< input type= " tel " name= " phone " pattern= " [1]{3}-[4] {3}-[7]{4} " required >


D.

< input type= " tel " name= " phone " pattern= " [0-9]{3}-[0-9] {3}-[0-9]{4} " required >


Get Premium INF-306 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.