2. HTML Form Tag

          HTML Form tags are a group of tags that accepts input from the users. A single form can contain multiple tags that accept different inputs. The <form> tag is used to group different form elements together. Given below is a code snippet on how to use the <form> tag.

<form action="somepage.html">

    <!-- Place form elements here -->

</form>

           The action attribute is used to indicate where the data inside the form will be sent to. For the example above, the data will go to somepage.html. The action will only be conducted when the user triggers an event. Later in this module, you will learn that submit button which can be clicked to trigger the action.

          Now, let us discuss the different types of form tags. We will focus first on the HTML tag <input>. There are different types of input tags depending on the data type that they will accept and we will discuss some them below: (please refer to: https://www.w3schools.com/html/html_form_input_types.asp for a complete list of the input types).