HTML rows attribute
rows attribute decides the height of the text area. rows attribute represents the number of lines.
Attribute values
All possible values of rows attributeThe value of rows attribute is a valid positive integer. The default value for rows attribute is '2'.
The height attribute may be used to define the height of the textual area.
Related Tags
The tags that support rows attribute<textarea> tag
-
The textarea supports the rows attribute.