HTML CSS Reference/HTML Attributes Reference/autocomplete — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 12:21, 26 мая 2010
"autocomplete" Example
<source lang="html4strict">
<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>
</source>
autocomplete is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<form> <input type="password"> | | |<input type="text"> | +----------------+--------------------------------------------------------------+
</source>
"autocomplete" Syntax and Note
<source lang="html4strict">
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">
</source>