Answers for "uneditable input html"

30

turn off autocomplete input html

<form method="post" action="/post/" autocomplete="off">
	<!-- The entire form has autocomplete disabled. -->
</form>

<!-- or you turn it off for just one input -->
<input type="text" autocomplete="off">
Posted by: Guest on March-28-2020
1

uneditable input html

<form 
      action="/action_page.php">

  <label for="country">Country:</label> 
  <input type="text" 
         id="country" name="country" value="Norway" readonly><br><br>

  <input type="submit" value="Submit">

</form>
Posted by: Guest on August-09-2021
2

readonly attribute in html

<!--The readonly attribute means that the value of input field is not editable
-->
<form action="">
<label for="country">Language:</label> 
	<input type="text" id="language" name="language" value="English" readonly>
	<input type="submit" value="Submit">
</form>
Posted by: Guest on July-17-2020

Code answers related to "uneditable input html"

Browse Popular Code Answers by Language