In this tutorial, We will introduce you about the readonly attribute of the <textarea> tag in html5. This attribute is used to specify that the input textarea is used only for reading. The user is not able to input any character or editing in the textarea.
The attribute is used as in the <textarea> tag:
|<textarea readonly="value">Text Here</textarea>|
This attribute have following possible values.
Difference between html4.01 and html5
This attribute is new in the html5.