Attributes for <TEXTAREA ...>
COLS
ROWS
Usage Recommendation |
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:
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.