Page 83 - TP-Play_V-2.0_Book-8
P. 83
Password : <INPUT TYPE="PASSWORD" NAME="PASSWORD"><BR>
<INPUT TYPE="CHECKBOX"> Remember me next time
<BR>
<INPUT TYPE="BUTTON" VALUE="Log IN">
</FORM>
</BODY>
</HTML>
Output
The <TEXTAREA> Tag
The <TEXTAREA> tag is used to create a multiline text box that can accept long text values. We
can specify the number of rows and columns we want in text area by using the ROWS and COLS
attributes of the <TEXTAREA> tag. The syntax of the <TEXTAREA> tag is as follows:
<TEXTAREA ROWS="2" COLS="70">
The <SELECT> Tag
Sometime, we need to display multiple options in the form of a drop-down menu or list from
which we can select only one option at a time. The <SELECT> tag with the <OPTION> tag allows
us to create a drop-down list. The <OPTION> tag specify an option in the drop-down list. The
syntax of the <SELECT> tag is as follows:
<SELECT>
<OPTION> Option 1
<OPTION> Option 2
<OPTION> Option N
</SELECT>
Let us create a student registration form by using form elements of HTML. The code to create
the registration form is as follows:
<HTML>
Images, Links and Frames in HTML5 83

