HTML <textarea> rows Attribute
Example
<form action="action.php">
<textarea rows="5" name="textareaText">Hello world!</textarea>
<input type="submit" value="Submit">
</form>
Meaning
The rows attribute specifies the number of rows in the text area. The value of the attribute should be a positive integer.
Standard Syntax
<textarea rows="number">...</textarea>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| number | Specifies the number of lines to show. by defult is 2. |