Check out example codes for "textarea in html". 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

<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.

Code Example 3

<textarea>

Code Example 4

<textarea id="w3mission" rows="4" cols="50">

Code Example 5

<!-- You need to use a textarea to get multiline handling. -->

<textarea name="Text1" cols="40" rows="5">

Learn ReactJs, React Native from akashmittal.com