HTML Dog

Skip to navigation

HTML Tag: form

Defines a form allowing user-inputted data to be sent somewhere. It is used with elements such as input, select and textarea.

Required Attributes

Optional Attributes

Example


<form action="/somedirectory/somformprocessingscript.php" method="post">
	<div>House number: <input type="text" name="housenumber" /></div>
	<div>Street: <input type="text" name="street" /></div>
	<div><input type="submit" /></div>
</form>