Adding a login option to your web page will give your website users the opportunity to create a username and password. Many websites have login pages, so users can get access to confidential or exclusive information. The following HTML coding will enable you to add a simple form to your website, which will direct the information to a MySQL database. Username:

This is the part of the form where the visitor types in their name. You could substitute ‘Login’ or ‘Register’ in place of Username, if you prefer. Password:

This is the part of the form where the visitor types in their password.

Substitute “Login” or “Register” or “Submit” for the button if you’d like. Tips Writer Bio

How to Insert a Login or Register Option on My Web Page - 15