0 votes
in HTML by

You are developing a customer web form that indicates the following HTML _______ 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="text" required="required"/>
  • B. <input id="txtValue" type="text" pattern="[A-Za-z]{3}" />
  • C. <input id="txtValue" type="required" />
  • D. <input id="txtValue" type="required" autocomplete="on" />

1 Answer

0 votes
by

Correct answer is :- 

  • A. <input id="txtValue" type="text" required="required"/>

Related questions

0 votes
asked Feb 23 in HTML by DavidAnderson
0 votes
asked Feb 10 in HTML by DavidAnderson
...