HTML form tag

The HTML <form> tag represents a form in an HTML document.

The <form> tag is used in conjunction with form-associated elements. To create a form, you typically nest form-associated elements inside the opening/closing <form> tags. You can also use the form attribute within those elements to reference the ID of the form to use.

<form action="process_form.cfm" method="get">
	<label>First Name: <input name="first_name"></label>
	<label>Last Name: <input name="last_name"></label>
	<input type="submit" value="Submit">

Eg. :