Elements: This attribute is used with two elements which are listed below:
<input>: It is used to readonly attribute to read the content only.
<textarea>: It is used to hold the readonly attribute.
Supported Browsers: The browser supported by readonly attribute are listed below:
- Apple Safari 1+
- Google Chrome 1+
- Firefox 1+
- Opera 1+
- Internet Explorer 6+