1<form method="post" action="/post/" autocomplete="off">
2 <!-- The entire form has autocomplete disabled. -->
3</form>
4
5<!-- or you turn it off for just one input -->
6<input type="text" autocomplete="off">
1<form
2 action="/action_page.php">
3
4 <label for="country">Country:</label>
5 <input type="text"
6 id="country" name="country" value="Norway" readonly><br><br>
7
8 <input type="submit" value="Submit">
9
10</form>
11
1<!--The readonly attribute means that the value of input field is not editable
2-->
3<form action="">
4<label for="country">Language:</label>
5 <input type="text" id="language" name="language" value="English" readonly>
6 <input type="submit" value="Submit">
7</form>