CBSE Class 10 Computer Applications Question 21 of 31

Sample Question Paper — Question 9

Back to all questions
9
Question

Question 18(ii)

Giving examples, write the difference between a text box and a drop-down list.

Answer
S.
No.
TextboxDrop-down list
1.A Textbox allows a user to enter alphanumeric data that is a combination of characters and numbers.A drop-down list displays a list of options from which the user can select an item.
2.For eg,
<FORM>
Name: <INPUT TYPE = "TEXT">
</FORM>
For eg,
Gender: <FORM>
<SELECT NAME = "GENDER">
<OPTION VALUE = "MALE"> Male </OPTION>
<OPTION VALUE = "FEMALE"> Female </OPTION>
</SELECT>
</FORM>