<form>
Description
This element creates a form and submits to send information to a server for further processing.
Example
<html>
<body>
<form name="form2" method="post" action="your.htm">
<input type="text"
name="textfield2"
value="This is a text field"
size="30"/>
<br/>
<input type="checkbox"
name="checkbox2"
value="checkbox"/>A checkbox.
<br/>
<input type="radio"
name="radiobutton"
value="radiobutton"/>A radio button.<br/>
<input type="button"
name="myButton2"
value="Submit"/>A submit button.
</form><!-- w w w . j a va 2s. c o m-->
</body>
</html>
The code above generates the following result.