rows attribute (textarea)
Sets the number of visible rows within a textArea element.
The height is calculated by the average character heights. You can set the dimensions of textarea with the width and the height style properties.
Integer that sets the number of visible rows.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the rows attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments