If the autocomplete="off" attribute is not preventing the input from showing values, it's possible that the behavior is being overridden by the browser or there may be other factors at play. The autocomplete attribute is a hint to the browser to disable autocomplete for the input field, but it's ultimately up to the browser to decide whether or not to honor this hint. In recent years, some browsers have started to ignore the autocomplete="off" attribute for sensitive fields like passwords and credit card information to improve user experience. This is done to help users by suggesting relevant information that they might have entered before. If you're experiencing this issue, you can try a few things: Clear your browser cache and try again. Test the page in a different browser to see if the behavior persists. Check if any browser extensions or plugins might be interfering with the autocomplete behavior. Review the HTML and JavaScript code to ensure t