This tag is used to create multiple lines of text fields where more text can be entered.
The meaning of these properties is shown in the following table
| Text domain marker value | describe |
|---|---|
| name | Name of text field |
| rows | Number of lines in the text field |
| cols | Number of columns in a text field |
| value | Default value for text field |
Insert text fields into the page.
01 <!-- -------------------------------------------------------------------------------------------------------------------------
02 <!-- File example: 11-17.htm -->
03 <!-- File description: Insert text field-->
04 <!-- -------------------------------------------------------------------------------------------------------------------------
05 <html>
06 <head>
07 <title>Insert text field</title>
08 </head>
09 <body>
10 <h1>User Survey</h1>
11 <form action=mailto:[email protected] method=get name=invest>
12 Please leave a message: <br>
13 <textarea name=comment rows=5 cols=40>
14 </textarea><br>
15 <input type=submit name=submit value=submit form>
16 </form>
17 </body>
18 </html>
Line 13 defines that the number of lines in the literal field is 5 and the number of columns is 40 characters.