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?
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"/>

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.