Input Type Text

<input type="text"> defines a one-line text input field:

  First name:<br>
  <input type="text" name="firstname"><br>
  Last name:<br>
  <input type="text" name="lastname">


Input Type Password

<input type="password"> defines a password field:

  User name:<br>
  <input type="text" name="username"><br>
  User password:<br>
  <input type="password" name="psw">


Input Type Submit

<input type="submit"> defines a button for submitting form data to a form-handler.

The form-handler is typically a server page with a script for processing input data.

The form-handler is specified in the form’s action attribute:


Leave a Reply

Your email address will not be published. Required fields are marked *