Page 92 - CodePilot V5.0 C8
P. 92
<OPTION>Autonomous</OPTION>
<OPTION>Industrial</OPTION>
<OPTION>Robotic Arm</OPTION>
Scan the QR
<OPTION>Drones</OPTION> for full code
</SELECT>
THE <TEXTAREA> TAG
The <TEXTAREA> tag is used to create a multi-line text box that can accept lengthy text
values. You can specify the number of rows and columns you want in the text area by using the
ROWS and COLS attributes of the <TEXTAREA> tag. The syntax to add the text area in the form is
as follows:
<TEXTAREA ROWS="NUMBER_OF_ROWS" COLS="NUMBER_OF_COLUMNS"
NAME="TEXTAREA_NAME" PLACEHOLDER="The hint for the user">
</TEXTAREA>
The following code uses the <TEXTAREA> tag to add a multi-line text input field in the form:
<LABEL FOR="feedback">Your Feedback:</LABEL><BR>
<TEXTAREA ID="feedback" NAME="feedback" ROWS="6" COLS="50"
PLACEHOLDER="Please enter your feedback here..."></TEXTAREA>
Scan the QR
for full code
Let us create a student registration form by using the form elements of HTML.
90
CodePilot (V5.0)-VIII

