HTML textarea rows attribute


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

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.


<textarea rows="value">

Attribute Values

Value Description
number Sets the height of the text area (in rows)
Share this article :
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved