Home >Web Front-end >HTML Tutorial >chrome prevents automatic filling of passwords_html/css_WEB-ITnose
is to prevent, not to prohibit. Disabling requires a browser setting.
After the Chrome browser saves the password, the username and password will be automatically filled in when there is a password on the page.
Adding the disableautocomplete and autocomplete="off" attributes did not achieve the expected effect.
I found that the test page would not automatically fill in when there were two passwords, so I added a password with display: none on the page,
succeeded,
over: -D