![]() |
Definition and UsageThe Note: The size of a textarea can also be specified by the CSS height and width properties. Applies toThe
Browser Support |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The textarea rows and cols attributes</h1>
<textarea rows="4" cols="50">
At Horje.com you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>
<p>This textarea has 4 visible rows.</p>
<p>You can change that by changing the value of the "rows" attribute.</p>
</body>
</html>
html rows attribute |
How to add A text area with a specified height and width - HTML rows Attribute | HTML Attribute |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |
Views: | 43 |
Reffered: https://www.w3schools.com/tags/att_rows.asp