Computer Applications

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

HTML Advanced Features

5 Likes

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>

Answered By

2 Likes


Related Questions