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,
- remove div vertical scroll
- Create HTML button that looks like a href hyperlink
- Comprehensive 256 Ascii code table with Html Hex IBM Microsoft Key
- HTML5 HELLO WORLD Example
- Get HTML table td, tr or th inner content value with id or name attribute
- Adding Sub Headings to Bootstrap Header tags
- What is the doctype for HTML5?
- Chessboard with pieces using pure HTML and CSS
- Hyperlink in html (anchor tag) without a underline
- W3 : character data is not allowed here html validation error
- Fibonacci series from 1 to 500 table
- 9 Border to DIV Element in HTML Examples
- How to add multiple spaces between html page text
- How to turn off autocomplete in input fields in HTML Form
- Default speed of Marquee tag : SCROLLAMOUNT
- How to word wrap in HTML
- Force convert HTML text input to upper case
- HTML5 CSS3 Color Codes List
- How to remove old 404 pages ulrs from Google crawler
- reCaptcha Verification expired. Check the checkbox again
- All directional arrows codes for HTML
- Align html element at the center of page vertically and horizontally
- How to make a div tag clickable
- Remove Html head and body tags from ckeditor source
- Auto Refresh Webpage after every x Second or Minute using Meta Tag?
More Posts:
- JavaScript: Count Words in a String - JavaScript
- List of 60 useful FTP Client Commands to access server - FTP
- Spell check not working in Gmail : Mac OS X - Mac-OS-X
- MySQL Error :1007 SQLSTATE: HY000 (ER_DB_CREATE_EXISTS) Message: Can't create database '%s'; database exists - MySQL
- Add imports in eclipse shortcut key combinations - Eclipse
- Disable jQuery button after being click - jQuery
- Install specific JRE on Ubuntu using apt - Ubuntu
- Parsing CSV file using Java code example (Comma Separated File) - Java