Check out example codes for "textarea readonly". It will help you in understanding the concepts better.

Code Example 1

--TextArea Read Only--
  
    <textarea readonly>

 At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.

Code Example 2

<!-- textarea readonly property -->
<textarea readonly>

Learn ReactJs, React Native from akashmittal.com