Demo of readonly and disabled attributes of textarea








HTML

<form method=post action=''><textarea name='textArea1' rows='3' cols='50'
 readonly>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)</textarea>
 <br><br>
<textarea name='textArea2' rows='2' cols='50' disabled>I am disabled ( disabled)</textarea>
<input type='submit' value='Submit'></form>
<?Php
echo "</div><div class='col-md-4'>";
require "templates/side_for_ad.php";
echo "</div></div>";
require "../../templates/temp1/analytic-only.php";
?>