Example A text area with 3 rows and a width of 25 characters: <textarea rows="3" cols="25"> 1000source cod...
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) |