The Autocomplete attribute is a new attribute in the HTML5. The function of the attribute is to enable or disable the autocomplete form element and input. Attribute Values on : Default / value Standard. Browser will automatically fill in values ??based on values ??previously entered by users. off : your browser does not automatically completes entries into form fields.
This other example shows how you can isolate a single field to prevent autocomplete: Autofocus Attribute Specifies that an element must receive focus automatically when the page loads. In the following example, the input element will focus once the page is loaded. < input maxlength = “255? name = “search” value = “” “autofocus” >