<Textarea> html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

<Textarea> html

Hi. Tell me please, how to change the size for <textarea> https://code.sololearn.com/WX1K0s1zH94z/?ref=app

25th May 2020, 9:36 AM
Blokhin Roman
Blokhin Roman - avatar
2 Answers
+ 4
It can be done using CSS: textarea { height: 50%; width: 20%; } Alternatively, you can use the rows and cols attributes of the textarea tag. <textarea rows="10" cols="50">
25th May 2020, 10:12 AM
Harsh
Harsh - avatar
+ 1
Thanks
25th May 2020, 10:23 AM
Blokhin Roman
Blokhin Roman - avatar