You can remember passwords on the iPhone or iPad by using the iCloud Keychain. You can add passwords manually in the following way:
Start the Settings app on your iPhone or iPad.
Go to Passwords.
Scroll all the way down and tap New password.
Enter a name, account name and password and save.