Latest

recent

HTML textarea rows attribute

Example

A text area with 3 rows and a width of 25 characters:
<textarea rows="3" cols="25">
1000source codes is to share tutorials on all programming languages
</textarea>


Definition and Usage

The rows attribute specifies the visible height of a text area.

Browser Support

The rows attribute is supported in all major browsers.

Syntax

<textarea rows="value">

Attribute Values

Value Description
number Sets the height of the text area (in rows)
HTML textarea rows attribute Reviewed by 1000sourcecodes on 02:13 Rating: 5
Powered by Blogger.