1
Reply

Explain autofocus and autocomplete Attribute?

Payal Ojha

Payal Ojha

12y
3.3k
0
Reply

    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 Valueson : 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 AttributeSpecifies 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” >