As a web developer while designing pages, you may want to disable autocomplete in input fields, especially of HTML form elements. To turn of autocomplete in HTML field by adding autocomplete=off as an attribute,
<input type="text" id="myField" autocomplete="off" />
If you want to turn off autocomplete for all the elements in the form you can add autocomplete off option on the form element itself as shown in below example,
HTML Code Example:<!DOCTYPE html>
<html>
<body>
<form action="/loginpage.php" autocomplete="off">
<label for="uname">Username</label>
<input type="text" id="uname"><br><br>
<label for="pass">Password:</label>
<input type="text" id="pass"><br><br><br>
<input type="submit">
</form>
</body>
</html>

HTML turn off autocomplete example
Comments:
- Further comments disabled!
More Posts related to Html,
- HTML5 HELLO WORLD Example
- All directional arrows codes for HTML
- Adding Sub Headings to Bootstrap Header tags
- Create HTML button that looks like a href hyperlink
- 70+ HTTP Error Codes CheatSheet
- Comprehensive 256 Ascii code table with Html Hex IBM Microsoft Key
- How to set background color in HTML page?
- Obsolete marquee element alternatives html5
- Base 64 Index, Character and Binary Table
- Get HTML table td, tr or th inner content value with id or name attribute
- Align html element at the center of page vertically and horizontally
- How to add multiple spaces between html page text
- The author stylesheet specified in tag script is too long - document contains 21759 bytes whereas the limit is 10000 bytes
- How to pretty print HTML using Java Code
- W3 HTML validator warning Unable to Determine Parse Mode
- Hyperlink in html (anchor tag) without a underline
- reCaptcha Verification expired. Check the checkbox again
- Auto Refresh Webpage after every x Second or Minute using Meta Tag?
- Chessboard with pieces using pure HTML and CSS
- Default speed of Marquee tag : SCROLLAMOUNT
- Fibonacci series from 1 to 500 table
- 9 Border to DIV Element in HTML Examples
- How to remove old 404 pages ulrs from Google crawler
- Simple Crossword Puzzle example using Pure HTML, CSS and JavaScript
- How to make a div tag clickable
More Posts:
- How to upgrade PowerShell on Mac - Powershell
- Horizontally Center Align
- JavaScript : Get current page address - JavaScript
- Fix Generics: error unexpected type required: class found: type parameter - Java
- Find Covid-19 Vaccine centers on macOS or iOS Maps App - News
- How to add Newline to text in Android TextView - Android
- How to Fix AttributeError in Python - Python
- Create SharePoint Site Collection using PowerShell New-SPSite - SharePoint