Tuesday, September 21, 2021

HTML 101: Form

 I believe that everyone who has made use of the internet knows what a form is but in case you don't know, a form is a way of receiving data from users for specific reasons.

In HTML forms are created within the <form> tag.

Two basic things that are essential to form are the ability to accept inputs and submit it into the database.


Input is a tag that literally accepts inputs, this can accept multiple types of inputs. Some of the inputs are:

  • <input type="text">:  single line text inputs, usually used for name inputs.
  • <input type="radio">: this input method is used to produce multiple options for the the users to select one from all the provided options.
  • <input type="checkbox">: this input is similar to radio, but unlike radio, it allows users select multiple choices.
  • <input type="button">: includes a button in the form
  • <input type="submit">: This is the submit button
Click for more input types

No comments:

Post a Comment

HTML 101: Form

  I believe that everyone who has made use of the internet knows what a form is but in case you don't know, a form is a way of receiving...