Page 106 - CA 165 ver 1.0 Class 10
P. 106
Adding a Checkbox
A checkbox is like a toggle switch where users can select a desired choice by clicking on the checkbox.
For example:
<INPUT TYPE=“CHECKBOX” NAME=“Hobbies” VALUE=“Reading” CHECKED>Reading
Adding a Password Field
This is also a single-line text input but it masks the character as soon as a user enters into it. The password
is not visible to the user in password field control. For example:
<INPUT TYPE=“PASSWORD” NAME=“Salary” SIZE=“10”>
TYPE=“PASSWORD” indicates that the form element is password.
SIZE=“10” denotes the maximum size of the password field i.e., ‘10’.
Combo box
A combo box provides option to list down various options in the form of drop-down list, from where a
user can select desired option. For example:
<SELECT NAME=“List Name”>
<OPTION>Option1
<OPTION>Option2
</SELECT>
104 Touchpad Computer Applications-X

