Interview Question

What is autocomplete off?

autocomplete off requests no saved-value suggestion, but the browser has the final choice.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

`autocomplete="off"` asks the browser not to suggest a saved value. • It can be placed on a form or field. • Browsers may still protect users by ignoring it in some cases. • Use meaningful autocomplete tokens instead when possible.

💡 Simple Example

<input name="one-time-code" autocomplete="off">

⚡ Quick Revision

autocomplete off requests no saved-value suggestion, but the browser has the final choice.