Check out example codes for "html input textarea". It will help you in understanding the concepts better.
Code Example 1
<textarea rows="10" cols="25">
The cat was playing in the garden.
Code Example 2
<textarea id="w3mission" rows="4" cols="50">
Code Example 3
<textarea>
Code Example 4
// To set the textarea value, you must insert the TEXT into the element.
<textarea>VALUE
Code Example 5
<label for="w3review">Review of W3Schools:</label>
<textarea
id="w3review" name="w3review" rows="4" cols="50">
At w3schools.com you will learn how to make a website. They offer free tutorials in all web development technologies.
Learn ReactJs, React Native from akashmittal.com