WE BELIEVE IN QUALITY SERVICE

rows Attribute

rows attribute defines the number of lines of a textarea. It is used with <textarea> tag.

Example:

<!DOCTYPE html>
<html>
<head>
<title> Page Title </title>
</head>
<body>
<textarea rows="5"> This is the use of textarea tag with rows attribute. </textarea>
</body>
</html>

Run Example

Browser Support

Attribute Firefox Chrome IE Opera Safari
rows yes yes yes yes yes