Which code segment should you use?

You are developing a customer web form that includes following HTML.
<input id=”txtValue”/>
You need to develop the form so that customers can enter only a valid country code
consisting of three English alphabet characters.

Which code segment should you use?

You are developing a customer web form that includes following HTML.
<input id=”txtValue”/>
You need to develop the form so that customers can enter only a valid country code
consisting of three English alphabet characters.

Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 1

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

2 × 3 =


Stvn100

Stvn100

Correct answer is D.