HTML Forms

The <form> element

Form inputs are contained within opening and closing <form> tags.

<form action="handle_form.php" method="post">
	
</form>

The opening <form> tag needs two attributes: action and method.

The value of the action attribute is a url. It tells the browser what to do when the form is submitted.

The method is how the data from form will be handled. It has two options for its value: post and get.