rows

LANSA WAM

rows

Specifies the visible height, in lines, of the <textatea> element. This only specifies the visible height of the textarea, not the length of data that can be entered. See the maxlength property to limit the length of entered data. The textarea will automatically add a scrollbar if necessary.

The rows value is measured in numbers of lines. The exact height will vary depending on the font settings being used. For more accurate control of the height of the <textarea>, use CSS to set the height.

Default value

Blank - the browser uses its own default size, usually 2.

Valid values

Any integer value.