Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>The input disabled attribute</h1>
<form action="https://www.w3schools.com/action_page.php">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname"><br><br>
  <label for="lname">Last name:</label>
  <input type="text" id="lname" name="lname" disabled><br><br>
  <input type="submit" value="Submit">
</form>
</body>
<!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_disabled by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 15:14:20 GMT -->
</html>