Page 79 - 2633 Trackpad Pro V5.1 Class 7
P. 79
<H1 STYLE = "text-align:center"> Registration </H1>
<B>ApplicantName:</B>
<INPUT TYPE = "TEXT" NAME = "APPLI_NAME" SIZE = "30" MAXLENGTH = "20">
<BR> <BR>
<B>Address: </B>
<INPUT TYPE = "TEXT" NAME = "ADDRESS" SIZE = "30" MAXLENGTH = "40">
</FORM>
</BODY>
</HTML>
Password input control
This control is same as the text input control, but it masks the characters as soon as the user enters
them. The characters entered/typed appear as * instead of normal text.
Syntax of password input control:
<INPUT TYPE = "Password" NAME = "The word that describes the textbox" SIZE = "The width
you want to use for the text box" MAXLENGTH = "Maximum number of characters">
Multi-line text input control
This control allows us to enter multiple lines. The <TEXTAREA> tag contains the ROWS and COLS
attributes, where ROWS attribute indicates the number of rows the text area should accommodate
and COLS attribute indicates the width area.
Syntax of multi-line text input control:
<TEXTAREA NAME = "The word that describes the text area" ROWS = "Number of rows the text
box should accommodate" COLS = "Width of the text area"></TEXTAREA>
Checkbox Input Control
This control is used when multiple options from a group are required to be selected by the site-visitor.
When selected, the checkbox is marked with a tick mark. While defining checkboxes, we need to
specify the following:
The group name should be specified for all the checkboxes by using the NAME attribute.
Each checkbox should be specified with a word describing the purpose of the checkbox which is
done with the help of the VALUE attribute.
The text that needs to be displayed beside the checkbox should be specified.
Images, Links and Forms in HTML5 77

