HTML CSS Reference/HTML Attributes Reference/autocomplete

Материал из Web эксперт
Перейти к: навигация, поиск

"autocomplete" Example

    
<HTML>
<Title>Example For autocomplete</Title>
<BODY>
<form name="form1" method="post" action="">
   <input type="text" size=30 name="text1" autocomplete="on">
   <input type="submit" value="Submit">
</form>
</BODY>
</HTML>



autocomplete is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<form>                          <input type="password">       |
|                |<input type="text">                                           |
+----------------+--------------------------------------------------------------+



"autocomplete" Syntax and Note

Note:
    
This attribute helps users quickly enter information into a form.
autocomplete stores and recalls data entered into the text and 
password <input> elements
autocomplete is a Boolean attribute, taking values on and off.
off is the default value.
    
Syntax:
    
<element autocomplete="value">