Demo of readonly & disabled attributes of textarea



Data of textArea1:
Data of textArea2:

HTML

<form method=post action=''><TextArea name='textArea1' rows='3' cols='50'
 readonly=true>This is some data , you can't change me. You can click and copy text from here.
 Data from here can be submitted along with other form elements (readonly=true)</TextArea>
 <br><br>
<TextArea name='textArea2' rows='2' cols='50' disabled=true>I am disabled ( disabled=true)</TextArea>
<input type='submit' value='Submit'></input></form>