<html>
<body>
<h2>The readonly Attribute</h2>
<p>The readonly attribute specifies that the input field is read only (cannot be changed):</p>
<form action="#">
First name:<br>
<input type="text" name="firstname" value ="John" readonly>
<br>
Last name:<br>
<input type="text" name="lastname">
</form>
</body>
<!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_input_attributes_readonly by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:14:50 GMT -->
</html>