Page 122 - Plus_V2.2_C8_Flipbook
P. 122
Output:
Displaying a textbox
Creating a Password Box
A password box is a control similar to a textbox control. The only difference is that the characters
entered by the user are masked for security reasons. They are displayed in the form of stars or dots.
Let us create a web page named Password.html with the following code:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> Password Box </TITLE>
</HEAD>
<BODY><FORM>
<LABEL FOR="PASSWORD">Password:</LABEL>
<INPUT TYPE="PASSWORD" ID="PASS" NAME="PASS">
</FORM></BODY>
</HTML>
Output:
Displaying a password box
Creating Checkboxes and Radio Buttons
Checkboxes are used to select multiple options from a set of options. Radio buttons, on the other hand,
are used select any one option from a set of options. Let us create a web page named CheckRadio.
html with the following code:
120 Premium Edition-VIII

