To use HTML forms, you need to know how to write a FORM element, containing suitable fields. That's covered well in the tutorials mentioned below. But additionally, you need a form handler, which is some software which processes the form data in some way, e.g. by sending it by E-mail to you or by storing it to a file which you can access.