WeCodeAcademy
❮ disabledchecked ❯

readonly

The value cannot be edited.

Applies to: input, textarea

Syntax

<input readonly>

Example

Examplehtml
Open in editor »

← All of HTML Attributes