Check out example codes for "html textarea locked". 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.
Learn ReactJs, React Native from akashmittal.com