A text area with a specified height and width:
![]()
The rows attribute is supported in all major browsers.
The rows attribute specifies the visible height of a text area, in lines.
Note: The size of a textarea can also be specified by the CSS height and width properties.
NONE.
| Value | Description |
|---|---|
| number | Specifies the height of the text area (in lines). Default value is 2 |
HTML <textarea> tag
Your message has been sent to W3Schools.