readonly attribute of input and textarea elements

readonly attribute of input and textarea elements

Makes the form control non-editable. Unlike the disabled attribute, readonly form controls are still included in form submissions and the user can still select (but not edit) their value text.

Spec https://html.spec.whatwg.org/multipage/forms.html#attr-input-readonly
Status WHATWG Living Standard
IE Edge Firefox Chrome Safari Opera