|
HTML Attributes for <TEXTAREA ...>
COLS
ROWS
Use it. |
COLS indicates how many characters (not pixels) wide the text area should be.
ROWS indicates how many rows should be in the text area. Both attributes are required
in the <TEXTAREA ...> tag. These attributes do not set any limit on how much can be typed in,
just how much of the textarea is visible.
Here's a comparison between some small and large values of these attributes:
<TEXTAREA NAME="few" COLS=10 ROWS=2></TEXTAREA>
<TEXTAREA NAME="some" COLS=50 ROWS=5></TEXTAREA>
<TEXTAREA NAME="lot" COLS=80 ROWS=20></TEXTAREA>
(Form is not live)
While the values you choose depend on the situation, we usually find that
COLS and ROWS (the second example) give a nice typing space without
taking up too much page.
<TEXTAREA WRAP="..."> >
|