The readonly Attribute

The readonly Attribute

<form action="">
  First name:<br>
  <input type="text" name="firstname" value="John" readonly>
</form>

Specifies that the input field is read only (cannot be changed).

Related concepts

The readonly Attribute

The readonly Attribute — Structure map

Clickable & Draggable!

The readonly Attribute — Related pages: