|
|
home
/ reference
/ html
<textarea></textarea>

rows
cols
wrap
name
The <textarea> tag is used to create an editable text box in the web
page for use with scripts.
<textarea rows="">
| |
Description
| |
The rows attribute is used to define how many rows tall the text input
box will be.
|
Code
| |
<textarea rows="4">YOUR TEXT HERE</textarea>
|
Appearance
|
<textarea cols="">
| |
Description
| |
The cols attribute is used to define how wide the text input
box will be, in characters.
|
Code
| |
<textarea cols="35">YOUR TEXT HERE</textarea>
|
Appearance
|
<textarea wrap="">
| |
Description
| |
The wrap attribute is used to define how text will wrap in the text box.
Possible values are "off", which disallows word wrapping, "physical", which
allows word wrapping and send the text with line breaks in tact when transmitting
the data using scripting, and "virtual", which show word wraps in the box
but sends the data as one long string of text when transmitting the data with scripts.
|
Code
| |
<textarea wrap="virtual">YOUR TEXT HERE</textarea>
|
Appearance
|
<textarea name="">
| |
Description
| |
The name attribute is used to assign a name to the text box for scripting
purposes.
|
Code
| |
<textarea name="THETEXTBOX">YOUR TEXT HERE</textarea>
|
|
|