PrepAway - Latest Free Exam Questions & Answers

Which HTML should you use?

You are developing a customer web form that includes the following HTML.
<input id=”txtValue”/>
You need to change the HTML markup so that customers can enter only a valid three-letter country
code.
Which HTML should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
<input id=”txtValue” type=”country”/>

B.
<input id=”txtValue” type=”text” required=”xxx”/>

C.
<input id=”txtVa!ue” type=”text” pattern-” [A-Za-z] {3} “/>

D.
<input id=”txtValuen type=”code” pattern”=”country”/>


Leave a Reply