フォーム入力時に、一度入力したユーザー名やパスワード、電話番号などを記憶して、次の入力時に自動で補完してくれる機能が『autocomplete』です。 「自動補完機能」などとも呼ばれますね。 今日はその『autocomplete』で指定できる値を紹介します。 自動補完機能autocomplete属性を指定できる要素autocomplete属性は、type属性に以下の値が指定されている <input> <textarea> <select> 要素に使用できます。 type=”hidden”type=”text”type=”search”type=”url”type=”tel”type=”email”type=”password”type=”date”type=”month”type=”week”type=”time”type=”datetime-local”type=”number”type
![【HTML】フォーム入力時の autocomplete 属性に指定できる値まとめ](https://cdn-ak-scissors.b.st-hatena.com/image/square/619ea591ff08f5018e9705d3d2b2772600509cc6/height=288;version=1;width=512/https%3A%2F%2Fon-ze.com%2Fwordpress%2Fwp-content%2Fthemes%2Fonze-2022%2Finc%2Fthumbnail%2F600x360x80-9ba6cca3e6aff99506726b2a7bd0d9af-thumbnail.png)