Edit This Code:
See Result »
<textarea id="myTextarea" rows="4" cols="50"> At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies. </textarea>
Click the button to display the value of the rows attribute of the text area.
Try it
Result: